The .NET Framework supports multiple languages such as Visual Basic, C#, J#, and so on.C# has emerged as one of the most powerful object-oriented programming language. It implements all the object-oriented concepts , such as encapsulation, inheritance, polymorphism, and bstraction. However, there are certain things that differentiate it form
C++. For instance, C# does not support multiple inheritance in classes, whereas C++ does.Being a .NET language, C# has access to the classes defined in the .NET Framework and to the unique features of the Common Language Runtime (CLR) such as, garbage collection, just-in-time compilation etc.., All the programs a compiled and tested in Visual Studio 2005. To Download free Trail of Visual Studio 2008
click here
using System;
using System.Collections.Generic;
using System.Text;
namespace prog1
{
class Program
{
static void Main(string[] args)
{
Console.Write("Hello, World.......!");
Console.ReadLine();
}
}
}
Output:
Hello, World.......!
0 comments:
Post a Comment