This is very basic and there is no more information or another way around it. There are surely hundreds of ideas out there and I'd accept any pointers. It won't be easy and it could include some crazy base overriding, but let's see what you pros have to say.
In a nutshell, I want this to happen:
In other words, I want control of the Base Collection-Type, structure, namespace, whatever you wanna call it. One more example:
In the above, assuming the input doesn't have 21+ matches of that pattern, instead of breaking, my handling would actually return a proper value concluded from my handling module/class/structure (whatever your ideas are).
I am a near expert with VB, C#, CPP, and pretty well versed in new .Net practices as well. I have many many reasons I would like (and almost need) to do this. The whole goal is that a person can keep their current calls in thousands of lines of programming across multiple projects, but just import my library / namespace and have the handling change, such that my library overrides the current base handling.
Any pros have any tricks?
~Suamere
In a nutshell, I want this to happen:
Code:
Dim strArray() As String = "a,b,c".Split(",")
Dim strValue As String = strArray("SecondValue")
'strValue now equals "b"
Code:
Dim collStrings as MatchCollection = Regex.Matches(input, "abc[.*?]ghi")
Dim strValue as String = collStrings(20).Value
'strValue = "There is no value of index 20"
I am a near expert with VB, C#, CPP, and pretty well versed in new .Net practices as well. I have many many reasons I would like (and almost need) to do this. The whole goal is that a person can keep their current calls in thousands of lines of programming across multiple projects, but just import my library / namespace and have the handling change, such that my library overrides the current base handling.
Any pros have any tricks?
~Suamere