Web
Expertsforge
Home
FREE Signup
Login
Search
Advertise
Link to Us
Contact Us
Help
Login:
Home
» Categories |
Programming
»
C#
» View Tutorial
C# Tutorial: The first step towards C#
prabakar
2/27/2005 8:56:25 PM, Views: 1790
Here is a program in C# which describes its four styles of Main Function
Please feel free discuss on the program.
/*
* Copyright© Microsun®
* Programmed by Prabakar Devarajan
* Programmed On 12/3/2004 @ 9:34 AM
* email : prabakar.microsun@gmail.com
*/
/*
* 4 Styles of Main:
1. public static void Main() { }
2. public static void Main(string[] args) { }
3. public static int Main() { return 0; }
4. public static int Main(string[] args) { return 0; }
*/
using System;
namespace EntryPointInCSharp
{
class MainClass
{
//public static int Main(string[] args)
//public static int Main()
//public static void Main()
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Next Steps:
Add this Tutorial to:
Blink
Del.icio.us
Digg
Fark
Furl
Google
Reddit
Simpy
Spurl
Technorati
Win Live
Yahoo
Rate Me!
Not Yet Rated!
Rate:
Select Your Rating
Excellent!
Very Good
Good
Fair
Poor
Send Message
Signup
/
Login
To View the Solution or Provide Comments
Post Comment/Solution
Comment:*
(Link Rules)
Use :
[bold] for <b>; [/bold] for </b>; [italic] for <i>; [/italic] for </i>; [code] & [/code] for code
Categories
Applications
Operating Systems
Databases
Programming
Web Development
Networking
Security
Hardware
Search Engine Optimization
Make Money Online
Miscellaneous
Options
Submit a Tutorial
Ask a Question
Add to KB
prabakar
Most Popular Tutorial
1.
How to create a wind...
2.
The first step towar...
Most Popular Solution
No Records!
Top Rated
No Records!
Top Rankers
Overall
1. prabakar (100)
Yearly -2008
No Rankings!
Expertsforge Sponsors
1.
Recover deleted files
FREE Signup
Advertise
Link to Us
Contact Us
Sitemap
Tutorial Sitemap
About Us
Privacy Policy
Copyright 2004 - 2008 Expertsforge.com