E
Eidolon
One feature i love about javascript (as used in IE, i dont know about true
java) is the ability to modify the prototype for an object.
For example i have one line where i wrote essentially:
String.prototype.UpTo(char) = new function {< returns string up to first
occurence of "char">}
And then all string objects from then on have an UpTo method.
Is there any similar functionality or ability to do something like this in
..NET?
Thanks in advance,
- Eidolon
java) is the ability to modify the prototype for an object.
For example i have one line where i wrote essentially:
String.prototype.UpTo(char) = new function {< returns string up to first
occurence of "char">}
And then all string objects from then on have an UpTo method.
Is there any similar functionality or ability to do something like this in
..NET?
Thanks in advance,
- Eidolon