Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace _01.DefineClass
- {
- using System;
- public class MainClass
- {
- public static void Main()
- {
- GSM firstTest = new GSM("Z3", "Sony", 500, "Nikola Kolev");
- GSM secondTest = new GSM("Galaxy S4", "Samsung", 260, "Petq Ianceva");
- GSM thirdTest = new GSM("Desire 500", "HTC", 500, "Pesho Peshov");
- GSMTest test = new GSMTest();
- test.Test[0] = firstTest;
- test.Test[1] = secondTest;
- test.Test[3] = thirdTest;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement