c# - Can I 'rename' an external exception class? -



c# - Can I 'rename' an external exception class? -

this question has reply here:

how alias class name in c#? 9 answers

i'm using external sdk wants me use

try { ... } grab (ex20301exception) { ... }

i'd rather use

try { ... } grab (customerovercreditlimitexception) { ... }

is there way can accomplish this? or have live comments?

possible duplicate of how alias class name in c#?

in usings...

using customerovercreditlimitexception = the.fully.qualified.namespace.ex20301exception;

c#

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -