Profile
Achievement
bryanlyman's Recent SnippetsTagged class
- All /
« Prev 1 Next »
Because there is no way to use object extenders in vb.net here is an example of how you can get similar functionality. See the C# example for further info.
0
1048
posted 13 years ago by bryanlyman
.net 3.0+, To create stability in your code, you must check all inputs into a method to make sure they are valid . Often people overlook this step because of laziness, or because they aren't convinced that exceptions and assertions are actually in pl...
0
875
posted 13 years ago by bryanlyman
.net 2.0+ Generic classes make code size much smaller and casting objects (boxing) a cinch. However, currently there are some unsupported IDE options when trying to cast objects to and from generic objects that use mixed object types (inherited from...
0
900
posted 14 years ago by bryanlyman
For .net 2.0+ The one limitation to enumerations is revealed when you try to reverse lookup an enumeration value using Enum.Parse(). The parse function will return an inconsistent enum object if ever there are two or more enumerations with the same...
0
1136
posted 14 years ago by bryanlyman