Write a program in C-Sharp to display "Hello World" message.

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

 

About Me

It's Me!Hi, I'm Moinuddin. I'm a Software Engineer at WIPRO working on Microsoft .NET Technology. I'm interested in a wide range of technology topics, mainly Microsoft including Windows Azure, WCF, WPF, Silverlight and any other cool technology that catches the eye.

Site Info

ProjectCSharp.com is mainly about demonstrating real time examples in different technologies like ASP.NET, WCF, WPF, Silverlight, Azure etc..,

Followers

Help Links

Project CSharp (C#) Copyright © 2011. All Rights Reserved.