[Tutorial]First Lesson C#(HelloWorld)

Prince

[ Verified Seller ]
Staff member
Trusted Seller
Joined
11 yrs. 6 mth. 26 days
Messages
5,381
Reaction score
18,380
Age
45
Wallet
11,590$
introduction to C# : C# is a simple, modern, object-oriented, and type-safe programming language. It will immediately be familiar to C and C++ programmers. C# combines the high productivity of Rapid Application Development (RAD) languages and the raw power of C++.

Visual C# .NET is Microsoft's C# development tool. It includes an interactive development environment, visual designers for building Windows and Web applications, a compiler, and a debugger. Visual C# .NET is part of a suite of products, called Visual Studio .NET, that also includes Visual Basic .NET, Visual C++ .NET, and the JScript scripting language. All of these languages provide access to the Microsoft .NET Framework, which includes a common execution engine and a rich class library. The .NET Framework defines a "Common Language Specification" (CLS), a sort of lingua franca that ensures seamless interoperability between CLS-compliant languages and class libraries. For C# developers, this means that even though C# is a new language, it has complete access to the same rich class libraries that are used by seasoned tools such as Visual Basic .NET and Visual C++ .NET. C# itself does not include a class library.

####################################################################################################

What You Gonna Learn At This Lesson

first thing we gonna learn how to install C# visual Studio

then we gonna start with making our First Console Program ( Hello World ! )

####################################################################################################

lest start !

first thing go to

Code:
Please, Log in or Register to view codes content!

please follow the pic's

fist go to 2010 Express products

22697105.gif




then go to see download details

image.gif


then go to C# visual express and press on it then install


image.gif




now after you finish your download start to install it after you finish installing you gonna see the studio interface like this

now press new project

visual-csharp-express-startpage-1001.jpg


after this i can say congratulation you have done a long way to start to learn how to program in C#

first thing we need to understand when we start

when the studio start you gonna see this codes

Code:
Please, Log in or Register to view codes content!

at first we need to understand what is this code !?

first one

using System; : this element we call it Namespace declaration.

class WelcomeCSS : and this element is Program start class.

static void Main() : and this element is Main begins program execution.

new after we understanding this part let's do our next part of our tutorial

making Hello World program

what ever we gonna type we must do it after static void Main() and between {} okay let's try to do our program then


Code:
Please, Log in or Register to view codes content!

let's understand what we type right now

Console.writeline : make the debugger show to us what we type like print in php and it must come on ()

what "" and ; do : "" define HelloWorld as string and ; to close our code

what Console.ReadLine(); do : it make the debugger stay and dont close after it open but you can delete it cuz the debugger can stay without crash on 2010

now press F5 and wait you gonna see your program run

i hope you like this tutorial see you in the next tutorial
 
Paid adv. expire in 2 months
CLICK to buy Advertisement !
westernunion carding Verified & Trusted WesternUnion | MoneyGram | Bank - Transferring [299$ BTC for 2000$ WU]
electronics carding Verified & Trusted Electronics Carding, Carding iPhone, Samsung Carding, MacBook Carding, Laptops Carding
Top Bottom