Is nesting types considered bad practice?
- by Rob Z
As noted by the title, is nesting types (e.g. enumerated types or structures in a class) considered bad practice or not? When you run Code Analysis in Visual Studio it returns the following message which implies it is:
Warning 34 CA1034 : Microsoft.Design :
Do not nest type
'ClassName.StructueName'.
Alternatively, change its
…