My Life in Code

10 PRINT “Hello World!”
20 GOTO 10
The guys at Radio Shack are going to hate me….

this will be more fun…
#include<iostream>
intmain(int argc, char* argv[])
{
std::cout << "Hello World!" << std::endl;
return 0;
}

no more memory management…
class Driver
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}

And Today my code will work….
public class MyObject
{
publicstring SayHello()
{
return "Hello World!";
}
}

[TestFixture]
public class HelloWorldFixture
{
privateMyObject myObject;

[SetUp]
public void SetUp()
{
myObject = new MyObject();
}

[Test]
public void SayHelloTest()
{
Assert.AreEqual("Hello World!", myObject.SayHello());
}
}