KnowledgeHub
Report question
Question:
C# switch variable initialization: Why does this code NOT cause a compiler error or a runtime error?
Reason
Select a reason...
Spam
Rude or offensive
Not an answer
Duplicate
Off-topic
Other
Additional details (optional)
Submit Report