Tuesday 23 February 2016

C#.NET ----- C# language introduction

C#.NET language introduction 


C#.NET is programming language developed by Microsoft pvt ltd company .

C# is most powerful language among all programming languages in .NET because it inherits form C, C++, java and other languages.

C#.NET is mostly used programming language now .
C#.NET developing team lead by “Anders Hegelburg”.
The most recent version of C#.NET is C# 6.0 which is released in July 2015
C# will provides good GUI features
C# will interact with several data base servers like ADO.NET
C# will also prepares web applications using web side technologies like ASP.NET .

Visual studio 2012

Visual studio is IDE ( Integrated Development Environment ) for .NET applications . by using this visual studio we can write program code , we can compile that code and we can execute that code 



There are so many versions of visual studios there 
  • visual studio 2002
  • visual studio 2003
  • visual studio 2005
  • visual studio 2008
  • visual studio 2010
  • visual studio 2012
  • visual studio 2013
  • visual studio 2015
Now i am using visual studio 2012.
After initialization of  visual studio 

How to programming in visual studio 

step 1 : in start menu type 'devenv' or directly open visual studio 2012 in All programs
step 2 : It will open a window like this 


step 3: goto file => new => project it will open a new window 



Step 4 : Write in name filed SampleApplication and click ok 
step 5 : It will open a new window with predefined program and write below code 


Using :
 It is keyword for to import all  class libraries 

Namespace : namespace is collections of  class and sub namespaces 

class  : in object oriented languages class is compulsory to write a programs , it contain methods and variables 

Main() : main is user defined special method which acts as entry point of program 


NOTE : Every line C# programming end with semicolon ';'






















1 comment:

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    c net training in electronic city

    ReplyDelete