2 ms·
VB.NET also doesn't allow #region's in method bodies, and can't use unsafe code. I've found C# to feel more concise, clean, and have less annoying hard to pred
by jimmaswell 14y ago
VB.NET also doesn't allow #region's in method bodies, and can't use unsafe code.
I've found C# to feel more concise, clean, and have less annoying hard to predict syntax. If .. End If, While .. End While, but For .. Next? I'd expect End For. The attempt to make it look more like words just made it more annoying to me. VB.NET's syntax feels too verbose. C#'s feels more like a good spot where it's very similar to C++ and Java, but not alien.
- mercurial 14y agoIn my experience, if you use #region in the body of a function, it is a sign it needs refactoring.