C# Getting Started

Before we begin with C sharp, C#  programming, let’s talk about what is C# and .NET Framework. C# is an object oriented programming language that enables developers to make various type of desktop, web or mobile applications using .NET Framework library.

.NET Framework is a software framework developed by a Microsoft that runs primarily on Microsoft Windows. It includes a large class library known as Framework Class Library and provides a language interoperability. Programs written for .NET Framework execute in a environment known as a Common Language Runtime (CLR), an application virtual machine that provides services such as security, memory management, and exception handling.

Here’s the basic structure of console application in C# :

using system; //namespace declaration

class test
{
 public static void main()
  {
   Console.WriteLine("This is a sample program");
  }
}

Continue reading “C# Getting Started”