[SOLVED] I do not understand... What is wrong? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 (); } } }

27th Dec 2017, 3:38 PM
Oscar Stjernfeldt
Oscar Stjernfeldt - avatar
1 Resposta
0
Thank you, now its working!
27th Dec 2017, 3:43 PM
Oscar Stjernfeldt
Oscar Stjernfeldt - avatar