So the standard code to start the software ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace new_class { class Program { static void Main(string[] args) { Class1 klas1 = new Class1(); } } } and here he writes a mistake and xs what to do ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace new_class { class Class1 { public static **klas1**() { Console.WriteLine("123"); Console.ReadKey(); } } } I need to bring the software exactly 123 and it is from the class ..
public Class1() { Console.WriteLine("123"); Console.ReadKey(); }public Class1() { Console.WriteLine("123"); Console.ReadKey(); }- this is called the class constructor - Igor