Créer jeu
Télécharger
Obtenir Plan Académique
Partager le jeu
Compléter
Compléter

First C# Program

Intégrez-le à votre plateforme

Vous pouvez intégrer le jeu dans un LMS compatible avec LTI 1.1 ou LTI 1.3 comme Canvas, Moodle ou Blackboard. Les scores seront ainsi automatiquement enregistrés dans le carnet de notes de la plateforme.
Télécharger
Vous avez dépassé le nombre maximum de jeux que vous pouvez intégrer à Google Classroom avec votre Plan actuel.

Pour intégrer autant de jeux que vous le souhaitez dans Google Classroom, vous avez besoin d’un Plan Académique ou un Plan Commerciel.

Vous avez dépassé le nombre maximum de jeux que vous pouvez intégrer à Microsoft Teams avec votre Plan actuel.

Pour intégrer autant de jeux que vous le souhaitez dans Microsoft Teams, vous avez besoin d’un Plan Académique ou un Plan Commerciel.

Le téléchargement du jeu est une fonctionnalité exclusive pour les utilisateurs avec un Plan Académique ou un Plan Commercial.

Obtenez votre Plan Académique ou Plan Commercial dès maintenant et commencez à intégrer vos jeux dans votre LMS, votre site Web ou votre blog.

Si vous le souhaitez, vous pouvez télécharger une jeu de test ici et tester son intégration:

First C# Program

Compléter

Parties jouées 0

À propos de cette activité

Practice reading input from the console in C#.

Créé par

Poland
Ce jeu est une version de

Téléchargez la version pour jouer sur papier

Créez votre propre jeu gratuite à partir de notre créateur de jeu
Affrontez vos amis pour voir qui obtient le meilleur score dans ce jeu

Top Jeux

%
Anonyme
Anonyme
%
%
%
Vous avez dépassé le nombre maximum de jeux que vous pouvez imprimer avec votre Plan actuel.

Pour imprimer autant de jeux que vous le souhaitez, vous avez besoin d’un Plan Académique ou un Plan Commerciel.

Imprimez votre jeu
First C# Program
 

Compléter

First C# ProgramVersion en ligne

Practice reading input from the console in C#.

par Konspekty Giganci
1

One day , a young programmer turned on his computer and decided to write his first in C# .
At the beginning of the project , he saw the word , which defined the namespace ? the place where his project .
Below it was the program , and then the main , where he could begin programming .

Inside the , he noticed strange symbols ? curly braces ? which surrounded blocks of the program .
He also noticed that each block should be indented to the right to make the code more .

When he added a to display text , the teacher reminded him that at the end of every instruction he must place a ; otherwise , the program would not run .

Finally , Kacper added a few to explain what his code does and proudly ran his first program .

2

When the programming learner what a starting program looks like , he moved on to .
At the very beginning , he wanted the screen to be , so he used the command . Clear ( ) .

Next , he displayed a greeting to the user using the Console . ( ) method ? thanks to it , the following text appeared on the screen :
" Welcome to my first program ! "

Then he wanted to ask for the name of the person using the program .
So he wrote : Console . Write ( ) ? to the text " What is your ? " without moving to a new line .

The user typed in their name , and the program read it using : Console . ( ) .

Now the programmer wanted to say hello , so he used the stored variable of type string to display the message :
" Nice to meet you , [ ] ! "

Before the program ended , he wanted the user to be able to see the result before the closed .
That is why he added Console . ( ) at the end , so the program would wait until the user pressed a key .

Voulez-vous vraiment quitter la page ?

En quittant la page, vous perdrez la progression du jeu.