C# Basic Tutorial: Int, String, Console ReadLine / WriteLine (Programming Lessons)

Veröffentlicht am: 22 September 2014
auf dem Kanal: Sharp Programming
8,214
30

Channel Link: http://bit.ly/XpAWoH
Subscribe Link: bit.ly/1swhEq8
_______________________________________________________

In this tutorial, I cover how to use the very basics of the C# language for console applications I use Xamarin Studio for this, but any program will do, for this.
For these tutorials you don't need to know anything but simply how to start up the software, I'll make it my mission to teach you the rest.
In this episode, I cover the basics of C#, such as how to use Int and String, and how to put data into those variables. I also cover the use of Console commands of ReadLine, and WriteLine.
So for a detailed and easy tutorial series check out the playlists, and get all the information you need to make you ideas a reality, learn to program it's easier than you would think.
Here is the code that I worked with today:
(Use it in your projects to get a better understanding of what is happening as you program along)


//Ints Strings
int Numbers;
string Words;



// Simple Console Commands
Console.WriteLine ("Hello World.");
Console.ReadLine ();



//Inputs
Console.WriteLine ("Input numbers:");
Numbers = Convert.ToInt32 (Console.ReadLine ());

Console.WriteLine ("Input Word:");
Words = Console.ReadLine ().ToUpper();




//Outputs
Console.WriteLine (Numbers);
Console.WriteLine (Words);
Console.WriteLine ("That was {0}", Numbers);
Console.WriteLine ("That was {0}", Words);


Auf dieser Seite können Sie das Online-Video C# Basic Tutorial: Int, String, Console ReadLine / WriteLine (Programming Lessons) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Sharp Programming 22 September 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,214 Mal angesehen und es wurde von 30 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!