jeudi 22 décembre 2016

C#: Get name of specific Exception

Is this the best method for getting the name of a specific Exception in C#:

ex.GetType().ToString()

It is in a generic exception handler:

catch (Exception ex)





Aucun commentaire:

Enregistrer un commentaire