Example #1
0
        static void Main(string[] args)
        {
            PostIt postIt1 = new PostIt();

            postIt1.BackgroundColor = "Orange";
            postIt1.Text            = "Idea1";
            postIt1.TextColor       = "Blue";

            PostIt postIt2 = new PostIt();

            postIt1.BackgroundColor = "Pink";
            postIt1.Text            = "Awesome";
            postIt1.TextColor       = "Black";

            PostIt postIt3 = new PostIt();

            postIt1.BackgroundColor = "Yellow";
            postIt1.Text            = "Superb";
            postIt1.TextColor       = "Green";
        }
 static void Main(string[] args)
 {
     PostIt postItOne = new PostIt();
     {
         postItOne.backgroundColor = "Orange";
         postItOne.text            = "Idea 1";
         postItOne.textColor       = "Blue";
     }
     PostIt postItTwo = new PostIt();
     {
         postItTwo.backgroundColor = "Pink";
         postItTwo.text            = "Awesome";
         postItTwo.textColor       = "Black";
     }
     PostIt postItThree = new PostIt();
     {
         postItThree.backgroundColor = "Yellow";
         postItThree.text            = "Superb!";
         postItThree.textColor       = "Green";
     }
 }