H
hdjim69
Hello, every book an article I read on csharp, the Main method
instantiates the actual class it's contained within. Seems weird to
me. Kinda having a hard time with this. Why do this ? Why not have
Main in it's own class like MainStarter or something and then
instantiate all the other classes. What is the advantage to having a
Main method in a some class and then have it instantiate that class.
TIA
J
instantiates the actual class it's contained within. Seems weird to
me. Kinda having a hard time with this. Why do this ? Why not have
Main in it's own class like MainStarter or something and then
instantiate all the other classes. What is the advantage to having a
Main method in a some class and then have it instantiate that class.
TIA
J