I am trying to get a list of specific operators for a particular type to see what operations can be applied to this type.
For example, the Guid type supports operations == and ! = .
So, if the user wants to apply the <= operation for the Guid type, I can handle this situation before an exception occurs.
Or, if I had a list of operators, I can force the user to use only the operations in the list.
The operators are visible in the object browser, so there may be a way to access them through reflection, but I could not find this.
Any help would be appreciated.
operators reflection c #
Cankut
source share