Thread: setw() in .NET
View Single Post
Old Jul 9th, 2006, 1:41 PM   #1
hbe02
Hobbyist Programmer
 
hbe02's Avatar
 
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3 hbe02 is on a distinguished road
setw() in .NET

what is the equivilent of this:
cout<<setw(2)<<dt.Second<<endl;
in the .NEt framework console which is as follows.
Console::WriteLine(dt.Second);

Thanks
hbe02 is offline   Reply With Quote