using System;
class Program
{
static void Main()
{
Console.WriteLine("Hello, C# World!");
}
}
using System;
class Program
{
static void Main()
{
Console.WriteLine("Hello, C# World!");
}
}
public class Calculator
{
public int Add(int a, int b)
{
return a + b;
}
}
class Program
{
static void Main()
{
Calculator calculator = new Calculator();
int result = calculator.Add(5, 3);
Console.WriteLine("Result: " + result);
}
}
namespace MyApplication
{
class Program
{
static void Main()
{
Console.WriteLine("Inside MyApplication namespace.");
}
}
}
namespace AnotherNamespace
{
class Program
{
static void Main()
{
Console.WriteLine("Inside AnotherNamespace namespace.");
}
}
}