C# Detyra

download C# Detyra

of 1

Transcript of C# Detyra

  • 7/21/2019 C# Detyra

    1/1

    using System;

    class Program { static void Main() { C o = new C(); o.Mi(); o.anotherMi(); Console.Read(); } }

    class C { public void Mi() { Console.WriteLine("hej");; } public void anotherMi() { this.Mi(); } }