Friday 28 August 2015

Basic of C#

C# fundamentals 

  • C# tends for C sharp.
  • C# is a programing language, introduced by Microsoft technology. 
  • Programing language: Programing language is a language that is used to create computer program. E.g. C, C++, Java, Visual Basic and C# etc.
  • C# derived from C and has similar syntax like Java.
  • C# based on OOPS.
  • We can develop console application , system application, web application, mobile application, Gaming application using C#.




What is OOPS?

  • OOPS tends for Object Oriented Programming Specification.
  • OOP is a software development methodology that is based on real world scenario and they consists Object and Classes. 




What is Object?

  • Object is an entity that has its own state and behavior. E.g. Car, Pen, and everything in the world that has state and behavior.




What is Class?

  • Group of Objects is known as Class that has similar property and behavior for its all Object.
  • Or Class is like a template that has similar properties and behaviors for its Objects.
  • E.g. Student, Vehicles etc. 



What Function or method?

  • Function or method represent information that how behavior of objects act and react.



What is namespace?

  • Logically collection of classes and objects.
  • Example:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

Where to start coding in C# ?