switch over a type

  • Thread starter Thread starter essamce
  • Start date Start date
E

essamce

Guest
how to do something like so:

public static bool IsCoincidence<T>(T param1, T param2)
{
switch (T) // error
{
case SimplePoint _:

default:
break;
}
}
thanks in advance.

Continue reading...
 
Back
Top