C# Playground - Using a loop in a method: Online Interpreter, Compiler & Editor | Sololearn