Beispiel #1
0
        static void Main(string[] args)
        {
            World w1 = new World("a");

            w1.SayHello();


            World w2 = new World("b");

            w2.SayHello();

            World w3 = new World();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            World w1 = new World("Viorica");

            w1.SayHello();

            World w2 = new World("Dancila");

            w2.SayHello();

            World w3 = new World();

            w3.SayHello();
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            //Se modifica ceva
            World w1 = new World("ET1");

            w1.SayHello();

            World w2 = new World("ET2");

            w2.SayHello();

            World w3 = new World();

            w3.SayHello();
        }
Beispiel #4
0
 public void VerifyThatHelloIsSaidCorrectly()
 {
     var sut = new World();
     Assert.AreEqual("Hello World", sut.SayHello());
 }