Advertisement
DimitarStoyanov

Untitled

Jun 4th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. namespace _01.DefineClass
  2. {
  3.     using System;
  4.  
  5.    public class MainClass
  6.     {
  7.         public static void Main()
  8.         {
  9.             GSM firstTest = new GSM("Z3", "Sony", 500, "Nikola Kolev");
  10.             GSM secondTest = new GSM("Galaxy S4", "Samsung", 260, "Petq Ianceva");
  11.             GSM thirdTest = new GSM("Desire 500", "HTC", 500, "Pesho Peshov");
  12.  
  13.             GSMTest test = new GSMTest();
  14.  
  15.             test.Test[0] = firstTest;
  16.             test.Test[1] = secondTest;
  17.             test.Test[3] = thirdTest;
  18.            
  19.         }
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement