Knowledge Management Banner

Knowledge Management Banner

C# Tutotial : Introduction : Part 1

History of C# 

  • C# is an object oriented programming language which is developed by  Anders Hejlsberg and team in Microsft. 
  • During the development time the language was called Cool, but due to trademark and licensing perspective they cannot go for the name and officially released it in market with name "C#" in year 2000.
What is .NET ?
  • Network Enabled Technology, It is an environment created by Microsoft, for building deploying, running applications and services that uses .NET technology.
What is Framework ?
  • Framework is an abstraction which provide generic reusable functionality, which can be changed later by user written code.
What is namespace ?
  • It is collection of classes, interfaces, structs & enums.
What is class ?
  • class is the collection of properties, methods, functions which has its own behaviour. 
What is Constructor ?
  • A constructor is used to initialize class field. 
  • A constructor is automatically called when instance of class is created.

Is C# a strongly types programming language ?
  • Yes C# is a strongly types programming language. strongly typed programming means,  programming language in which each type of data (such as integer, character, hexadecimal, packed decimal, and so forth) is predefined as part of the programming language and all constants or variables defined for a given program must be described with one of the data types.
What is main method ?
  • It is entry point of your program
e.g.

class Program
{
       static void Main(string[] args)
      {
            //Your code
      }
}





No comments

Powered by Blogger.