Asked 7 years, 2 months ago
Viewed 39 times
1
Why can’t I declare a static constructor function? Is there any problem with context?
Yes, some code you’re doing that didn’t work?
– Maniero
It’s actually a question. I’ll give you an example: If I declare it as Static Method(){}, what’s the difference for a constructor that isn’t static?
– DiegoSantos
What is the doubt? The described part of a wrong premise.
I understand. I corrected my comment above.
Browser other questions tagged c#
Yes, some code you’re doing that didn’t work?
– Maniero
It’s actually a question. I’ll give you an example: If I declare it as Static Method(){}, what’s the difference for a constructor that isn’t static?
– DiegoSantos
What is the doubt? The described part of a wrong premise.
– Maniero
I understand. I corrected my comment above.
– DiegoSantos