KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In C#, is it possible to declare a class or struct inside a method, as in C++? e.g. C++: void Method() { class NewClass { } newClassObject; } I have tried, but it's not allowing me to do so.
Tags (comma-separated)
Save Edits
Cancel