Windows Phone Developers

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:




Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

1 comment:

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

    ReplyDelete