Is there a way to make the C# compiler automatically apply ToLower() (or any other manipulating method invoke) to a particular method parameter before it gets used inside the method?
//additional information: its purpose is to use a Dictionary with a case-insensitive key. Apparently, my first approach was completely wrong as I've already found a totally different approach that addresses the Dictionary itself, not the key it is accessed with.
My bad! I should have provided you with that info. So, no further answers needed. Anyway, thanks a lot!
Better approach in this particular case: c# Dictionary: making the Key case-insensitive through declarations