L
L
Hi there,
Something like this in C++
String sTmp;
for (int i = 5; i <=15; i++)
{
sTmp.format("%2s", i)
}
would print
5
6
7
8
9
10
11
12
12
14
15
I should imitate the same in Csharp. ( Notice the space before the
numbers 5 through 9). Is there a way to do this using String.Format in
Csharp?
Thanks,
Lalasa.
Something like this in C++
String sTmp;
for (int i = 5; i <=15; i++)
{
sTmp.format("%2s", i)
}
would print
5
6
7
8
9
10
11
12
12
14
15
I should imitate the same in Csharp. ( Notice the space before the
numbers 5 through 9). Is there a way to do this using String.Format in
Csharp?
Thanks,
Lalasa.