0% found this document useful (0 votes)
2 views5 pages

Compte Rendu

The document outlines a simple .NET console application that displays a welcome message. It includes code snippets for printing 'Hello World!' and prompting the user for their name. Depending on the input, it either welcomes the user by name or provides a general welcome message.

Uploaded by

adambg1321
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

Compte Rendu

The document outlines a simple .NET console application that displays a welcome message. It includes code snippets for printing 'Hello World!' and prompting the user for their name. Depending on the input, it either welcomes the user by name or provides a general welcome message.

Uploaded by

adambg1321
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Compte Rendu

1/ le message affiché vient de la commande: [Link](“Hello World!”);

2/[Link]("Welcome to my First .NET Console Application");

3/ string name = [Link]();


if (name != ""){
return (name + ", Welcome to my First .NET Console Application");
}
else
{
return ("Welcome to my First .NET Console Application");
}
4/
class Program
{
static string Welcome(string name)
{
if (name != "")
{
return (name + ", Welcome to my First .NET Console Application");

}
else
{
return ("Welcome to my First .NET Console Application");
}
}

5/
6/

7/

8/
9/

You might also like