Программирование - это просто
Advertisement
arrow arrow Visual C# arrow Visual C# . 3. (Console, WriteLine, ReadLine)
08.02.2023 .
1:
C#
Delphi
Web-
Excel-
.
Visual C# . 3. (Console, WriteLine, ReadLine) E-mail
megabax   
21.02.2011 .
Delphi

Visual C# . 3. (Console, WriteLine, ReadLine) 

, C#, . ?  , . MS DOS. C#,  , , , Windows Web. 

, , . , ? "File" -> "New Project...", "Other languages" -> "Visual C#" -> "Windows". "Windows forms Application", "Console Application":

 

Visual C#  .  3.   (Console, WriteLine, ReadLine)

 

, , ,   . :

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 

namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {

        }

    }

}

 

  Main:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 

namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {

            Console.WriteLine(" :");

            string sName = Console.ReadLine();

            Console.WriteLine(", " + sName);

            Console.WriteLine(" ENTER ");

            Console.Read();

        }

    }

}

 

, :

 

Visual C#  .  3.   (Console, WriteLine, ReadLine)

 

 

Console.WriteLine(" :");

, , .

 

string sName = Console.ReadLine();

, , sName.

 

Console.WriteLine(", " + sName);

. ", ", , . "+" . - , - ( , ).

 

" Console" - . 

" ", - .

( ) - . WriteLine ReadLine .  1?

 

()

 


, *,   . 1274 "Microsoft Visual Studio 2010 Professional", Microsoft.. 


 

 

( 29.11.2013 . )
 
« .   . »
 
© 2023 Программирование - это просто
Joomla! - , GNU/GPL.
© 2005-2008 Joom.Ru - Joomla!
Design by Mamboteam.com | Powered by Mambobanner.de
  .