17. • Console is nothing but static class only. In the console
applications. we can the i/p that o/p will displayed in the
command prompt. it supports cui (character user
interface),console supports 4 types of methods.
• 1.write()-o/p
• 2.writeLine()-o/p with new line
• 3.Read()-read the values(i/p)
• 4.ReadLine()-i/p with new line
18. • syntax:
• using system;
• namespace namespacename
• {
• class classname
• { statements; }
• static void Main(string[] args)
• { statements; }
• }
• compilation : build-build solution-.exe
• execution: go to debug-start debugging
19. • note: string[] args is the command line args.
• It is collection of homogeneous datatypes.in this every
value is based on index number.index starts from 0
onwards..
• o/p:
• Console.WriteLine ("the value of a,b,c is:{0},{1},{2}" ,a,b,
c.ToString());
20. For more understanding visit our c# program example
playlist in our channel SIRYMEDIA
Or
Click below links in description
21. Thank You
For more updates subscribe to our YouTube channel
SiryMedia
To watch more videos visit our website
www.sirymedia.in