Created by kuber sharma
almost 6 years ago
|
||
1. How to write Hello World in the console. Ans. using System; public class Program { public static void Main() { Console.WriteLine("Hello World"); Console.Readkey(); } }
2. How to write Comments in C#. Ans. We can add: " // " for single line comment. " /* ..... */ " for multi line comments.
3. What are the Data types in C#? Ans.
4. What are Enumerations in C#? Ans.
Want to create your own Notes for free with GoConqr? Learn more.