+ 1
What is wrong with this code ?
What is the problem this code ?. It's giving me an error cs1519.using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { class person { public string Name; public person(string Nm) { Name = Nm; } Public string getName() { return Name; } } static void Main(string[] args) { person p1 = new person("joseph"); Console.WriteLine(p1.getName()); } } }
2 Antworten
+ 1
Thank you ~ swim ~.