+ 1

classes

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { class Dog { public string name; public int age; } static void Main(string[] args) { Dog bob = new Dog(); bob.name = "Bobby"; bob.age = 3; Console.WriteLine(bob.age); Console.WriteLine(bob.name ); } } }

21st Jun 2016, 10:55 PM
Mohammad Al-jalodi
Mohammad Al-jalodi - avatar
7 Respostas
+ 2
3 body
22nd Jun 2016, 2:58 PM
ashok
ashok - avatar
+ 1
3 Bobby
22nd Jun 2016, 6:23 AM
Naveen Lagishetty
Naveen Lagishetty - avatar
+ 1
3 Bobby
22nd Jun 2016, 6:37 AM
Raymond Enconado Maco
Raymond Enconado Maco - avatar
+ 1
3 Bobby
22nd Jun 2016, 10:24 AM
Bruce William Opio
Bruce William Opio - avatar
+ 1
3 Bobby
29th Jun 2016, 7:02 AM
praveen hari krishna.n
praveen hari krishna.n - avatar
0
3 Bobby
2nd Aug 2016, 4:42 PM
Sztankó Miklós
Sztankó Miklós - avatar
0
3 Bobby
27th Dec 2019, 6:25 PM
Not Done
Not Done - avatar