Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

a.k.java

//Rextester.Program.Main is the entry point for your code. Don't change it.
//Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

namespace Rextester
{
    public class Program
    {
        public static void Main(string[] args)
        {
            //Your code goes here
            Console.WriteLine("Hello, world!");
            
            
           ////// 
          Rextester.Program.foo() ; 
            
        Rextester.Program.bar(3, 2) ;  
       
         Rextester.Program1.foo() ; 
            
        Rextester.Program1.bar(3, 2) ;  
          
            
        }
        
        
          
            
        
           ///// ////////////////////////////////////////////////
        public static void foo() {
        // Do something here
            Console.WriteLine("FUNCTION");
    } 
        
       //////////////////////////////////////////////////////// 
        
        
        public static void bar(int num1, int num2) {
            
            
            
            
            
    Console.WriteLine("bar");
}
        
        
        
        ////////////////////////////////////////////////////////////////
        
        
    }
    
    ////////////////////////////////////
    
    
     public class Program1
    {
        public static void Main(string[] args)
        {
            //Your code goes here
            Console.WriteLine("Hello!");
            
            
           ////// 
           
           ///// 
        Program.foo() ;   
            
        }
        
        public static void foo() {
        // Do something here
            Console.WriteLine("FUNCTN");
    } 
        
        //////////////////////////////////////////////////////// 
        
        
        public static void bar(int num1, int num2) {
            
            
            
            
            
    Console.WriteLine("bar");
}
        
        
        
        //////////////////////////////////////////////////////////////// 
        
        
        
    }
    
    
    /////////////////////////////////////////
    
    
     
    
    
    
    
    
}
 run  | edit  | history  | help 0