Notas
.Net Lab Assignment
Conteúdo das notas (4)
Página 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();
}
}
Página 2
2. How to write Comments in C#.
Ans.
We can add:
" // " for single line comment.
" /* ..... */ " for multi line comments.
Página 3
3. What are the Data types in C#?
Ans.
Página 4
4. What are Enumerations in C#?
Ans.
Informações
- Descrição
- C# basics
- Criado por
- kuber sharma · fev 2019
- Atualizado
- 7 fev 2019
- Visualizações
- 71
- Tags
- Avaliação