Amazing !!!

  • Thread starter Thread starter youtube300
  • Start date Start date
God, the C# version:

namespace Universe.MilkyWay.Earth.Humanity.Myth.Popular
{
class God
{
public God()
{
throw new NullReferenceException();
}
}
}
 
Hi,
God, the C# version:

namespace Universe.MilkyWay.Earth.Humanity.Myth.Popular
{
class God
{
public God()
{
throw new NullReferenceException();
}
}
}

*LOL*

Laurent
 
Hi Sharon,

Very funny :)

But I'd like to make a suggestion:

static class G_d
{
public G_d()
{
// do nothing
}
}
 
Maybe it should be a Singleton? That way it can be an instance, but never
more than one?
:-)
 
Hi,
Maybe it should be a Singleton? That way it can be an instance, but never
more than one?
:-)

Then your code wouldn't run in Asia!

Laurent
 
You have lost me, Laurent. Does this have anything to do with the Dalai Lama?
:-(
 
Peter said:
You have lost me, Laurent. Does this have anything to do with the Dalai Lama?

I think he is talking about monotheism versus polytheism.

Arne
 
Sharon said:
God, the C# version:

namespace Universe.MilkyWay.Earth.Humanity.Myth.Popular
{
class God
{
public God()
{
throw new NullReferenceException();
}
}
}

This is a design flaw. Either the class should be sealed (athiest) or it
should not throw an exception (Agnostic but with a design flaw).

PS
 
PS said:
This is a design flaw. Either the class should be sealed (athiest) or it
should not throw an exception (Agnostic but with a design flaw).

PS
This is a perpetual motion routine.

It only works if you believe it works,

other wise you will be considered a quack.

donald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top