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:
Visual Studio .NET Tips and Tricks, VB.NET Code Samples, C# Code Snippets, ASP.NET Code Samples, .NET Tips and Tricks, C# Tips & Tricks, Visual Studio 2010, .NET Framework Code Samples, VB.NET Tips & Tricks
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:
Except \t doesn't work with in Label controls.
ReplyDelete