I tried everything converting, changing but nothing seems to work I still get this error CS0029.
What am I missing, because the main method needs to satisfy everything written there, so maybe I have to change something in the Class area in the methods.
using System;
namespace CalculatorTest
{
class Calculator
{
public static string WriteText(string s)
{
return s;
}
public static int WriteNumber(int n)
{
return n;
}
}
class Program
{
public static void Main(string[] args)
{
string s = Calculator.WriteText("Hello world!");
Console.WriteLine(s);
string n = Calculator.WriteNumber(53 + 28);
Console.WriteLine(n);
Console.Read();
}
}
}