The below may not look like much, but the ability to call methods in other classes, offloading all the work onto other classes from MainClass, and returning a variable to be passed to the next method is a rather large leap for me at least.
using System;
namespace CSharpTutoriel
{
class Work
{
public static string TellMeWhatToSay(out string passTheQuote)
{
string whatIsWritten;
Console.WriteLine("Tell Me What To Say");
whatIsWritten = Console.ReadLine();
passTheQuote = whatIsWritten;
return passTheQuote;
}
public static void HelloWorld(string itWillBeSpoken)
{
Console.WriteLine(itWillBeSpoken);
}
public static void PressToContinue()
{
Console.WriteLine("Press any key to continue...");
Console.ReadKey();
}
}
class MainClass
{
public static void Main(string[] args)
{
string whatToSay;
Work.TellMeWhatToSay(out whatToSay);
Work.HelloWorld(whatToSay);
Work.PressToContinue();
}
}
}