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

Published: 22 September 2014
on channel: 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);


On this page of the site you can watch the video online C# Basic Tutorial: Int, String, Console ReadLine / WriteLine (Programming Lessons) with a duration of hours minute second in good quality, which was uploaded by the user Sharp Programming 22 September 2014, share the link with friends and acquaintances, this video has already been watched 8,214 times on youtube and it was liked by 30 viewers. Enjoy your viewing!