.


:




:

































 

 

 

 





Visual Studio 2008 Express : http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express.

, , #. . , , (. 6.1).

. 6.1. Visual Studio .

. 6.2. Visual Studio.

: .... (. 6.3.) .

. 6.3. Visual Studio.

Visual Studio (.6.4).

. 6.4. Visual Studio.

C#.

, Visual Studio C#. static void Main(string [] args). . .

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 

namespace ConsoleApplication1

{

class Program

{

static void Main(string[] args)

{

Console.WriteLine(" ");

Console.ReadLine(Name);

Console.WriteLine(" ", Name);

}

}

}

(. 6.5).

 

. 6.5. .

, Name , . , string Name.

static void Main(string[] args)

{

string Name;

Console.WriteLine(" ");

Console.ReadLine(Name);

Console.WriteLine(" ", Name);

}

(.6.6), Console.ReadLine.

. 6.6. .

.

Name = Console.ReadLine();

. (.6.7).

. 6.7. .

. <Enter> (.6.8).

. 6.8. .

Name. .

Console.WriteLine(" ", Name);

, {0:s}.

Console.WriteLine(" {0:s}", Name);

 

. , namespace, . using , , .

2- ConsoleApplication, Program. ConsoleApplication.Program. C# .

: public static. ( ) public , . static , . , . void (, ) Main() . , . , . , ( # ). , Main().

. , . , , , namespace. , F5 .

namespace ConsoleApplication_No_using

{

class Program

{

static void Main(string[] args)

{

System.Console.WriteLine("Hello");

 

System.Console.ReadKey();

}

}

}

.

MS Visual Studio.NET , . MS Visual Studio.NET , , , , , . MS Visual Studio.NET UML , .

 

. , . .

csproj.

. sln. Solution Explorer, , .

:

 

File -> Open -> roject

( Example.csproj) . ( Example.cs).

( Example.csproj) . , Example, ( Example.cs).

 





:


: 2017-01-21; !; : 354 |


:

:

, , .
==> ...

1965 - | 1625 -


© 2015-2024 lektsii.org - -

: 0.015 .