Main Function : Main : Language Basics C# Source Code


Custom Search

C# Source Code » Language Basics » Main »

 

Main Function








    



// error 
using System;
class Complex
{
    static int Main()
    {
        // test code here
        Console.WriteLine("Console: Passed");
        return(0);
    }
}

public class TheMainFunctionMultipleMains
{
    public static void Main(string[] args)
    {
        foreach (string arg in args)
        Console.WriteLine(arg);
    }
}
           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Language Basics
» Main