|
Re: Visual Basic
I really meant my fall through explanation to be focused on C/C++. Frankly, I have never used it in a C# application, but I assumed the C-style syntax would support it...I was apparently wrong.
So, let's apply my previous post to C/C++ only.
Also, the link you posted is a good work around for a fall through. However, as a practice, GOTO statements violate OOP principals, and I try to avoid them at all costs.
P.S....I've been itching for a correlary to __asm (from C++) in C#. Perrhaps __cpp, or __C++, or __cplusplus to allow for inline C++ code in C#. I suppose I'll never see it.
|