0
[SOLVED] I do not understand... What is wrong?
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class animal{ public string name = "Oscar""; public void print(){ Console.WriteLine("name: " + name); } } class Program { static void Main(string[] args) { animal dog = new animal(); dog.print (); } } }
2 Réponses
0
Thank you, now its working!