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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -