Console Write Line Formatted Output C# with Example



Console Write Line Formatted Output C# with Example

 using System;

namespace CSharpFundamentals
{
    class ConsoleWriteLineFormattedOutput
    {
        private static void Main(string[] args)
        {
            Console.WriteLine("Name:{0, 20} \nEMail: {1, 20}", "Rajesh", "rajesh@gmail.com");
        }
    }
}
 

0 Comment's

Comment Form

Submit Comment