GoConqr has a new look! Let us know what you think.

Notes

.Net Lab Assignment

kuber sharma English 4 pages

Content of the notes (4)

Page 1

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();

}

}

Page 2

2. How to write Comments in C#.

Ans.

We can add:

" // " for single line comment.

" /* ..... */ " for multi line comments.

Page 3

3. What are the Data types in C#?

Ans.

Page 4

4. What are Enumerations in C#?

Ans.

Information

Description
C# basics
Created by
kuber sharma
Views
71
Tags
.net
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?