C Sharp (C#) - Strings and StringBuilder
Given a list of integers, how can you create a formatted string showing each number padded to 3 digits separated by commas?
Example: [4, 15, 123] -> "004, 015, 123"
Example: [4, 15, 123] -> "004, 015, 123"
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions