using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
Rextester.Program.foo() ;
Rextester.Program.bar(3, 2) ;
Rextester.Program1.foo() ;
Rextester.Program1.bar(3, 2) ;
}
public static void foo() {
Console.WriteLine("FUNCTION");
}
public static void bar(int num1, int num2) {
Console.WriteLine("bar");
}
}
public class Program1
{
public static void Main(string[] args)
{
Console.WriteLine("Hello!");
Program.foo() ;
}
public static void foo() {
Console.WriteLine("FUNCTN");
}
public static void bar(int num1, int num2) {
Console.WriteLine("bar");
}
}
}
|