Skip to content

Instantly share code, notes, and snippets.

View benben's full-sized avatar
🤔
Are we still online?

Benjamin Knofe benben

🤔
Are we still online?
View GitHub Profile
if (option == "Object1")
{
Object1 obj = new Object1();
}
else if (option == "Object2")
{
Object2 obj = new Object2();
}
else if (option == "AnotherObject")
{