I have an existing C# generic class and wish to add or remove a method based on the used type, I explain
public class MyType<T>
{
public T getValue() { return value; }
}
For the specific MyType<void>, I wish to "delete" the "getValue" method.
Does something like this exists?