Friday, January 2, 2009

How to Use Tabs in Variables in C#

C# use of Tab characters in variables

Tab characters can be used in variables in the form of escape sequences (\t for the tab character) as shown below

Console.WriteLine("Name\tAge");

The output will be:




1 comments:

Anonymous said...

Except \t doesn't work with in Label controls.

kbAlertz.com :: Visual Studio 2005

kbAlertz.com :: Visual Studio 2008

kbAlertz.com :: Visual Basic 2005