V
V
Vitokarleon2020-05-21 11:56:26
Working with date/time
Vitokarleon, 2020-05-21 11:56:26

I ran into an incomprehensible moment in Shield's book C # 4.0, what does this code mean?

The First Simple Program
Now it's time to move on to an example of a specific C# program. First, let's compile and execute a short program.
/*
This is a simple C# program.
Let's call it Example.cs.
*/
using System;
class Example {
// Any C# program starts with a call to the Main() method.
static void Main() {
Console.WriteLine("A simple C# program.");
}
}
Microsoft's Visual Studio is the main development environment for C# programs. To compile all of the sample programs in this book, including those using the new C# 4.0 features, you will need Visual Studio 2010 or a later version that supports C#.
Create, compile, and run C# programs using . Tell me what does it mean? At this point ?This is a simple C# program.
Let's call it Example.cs.
*/
using System;
class Example {
// Any C# program starts with a call to the Main() method.
static void Main() {
Console.WriteLine("A simple C# program.");
}
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2020-05-21
@Vlatqa

it prints the string Simple C# program to the console.
what is unclear here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question