Apuntes
.Net Lab Assignment
Contenido del apunte (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.
Información
- Descripción
- C# basics
- Creado por
- kuber sharma · feb 2019
- Actualizado
- 7 feb 2019
- Visitas
- 71
- Etiquetas
- Valoración