File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/c# Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- // URL of the official C# website : https://learn.microsoft.com/en-us/dotnet/csharp/
1+ // URL del sitio web oficial de C# : https://learn.microsoft.com/en-us/dotnet/csharp/
22
3- // Single-line comment in C#
3+ // Comentario de una sola línea en C#
44
55/*
6- Multi-line comment in C#
6+ Comentario de varias líneas en C#
77*/
88
9- // Variable and constant declaration
10- string languageName = "C#" ;
11- const string GREETING = "¡Hola, " ;
9+ // Declaración de variable y constante
10+ string nombreIdioma = "C#" ;
11+ const string SALUDO = "¡Hola, " ;
1212
13- // Primitive data types in C#
14- int number = 42 ;
15- double fractionalNumber = 3.14 ;
16- bool isProgrammingFun = true ;
17- char singleCharacter = 'A' ;
13+ // Tipos de datos primitivos en C#
14+ int numero = 42 ;
15+ double numeroFraccionario = 3.14 ;
16+ bool esDivertidoProgramar = true ;
17+ char caracterIndividual = 'A' ;
1818
19- // Printing the message
20- Console . WriteLine ( GREETING + languageName + "!" ) ;
19+ // Imprimir el mensaje
20+ Console . WriteLine ( SALUDO + nombreIdioma + "!" ) ;
You can’t perform that action at this time.
0 commit comments