How to Alias Namespaces and Data Types (pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 4 years, 6 months ago

One of the little known features of .NET is that you can give complete namespaces and data types alias's that you can reference them with in code. This trick allows you to get around the issue of having ambiguous namespaces and/or objects.

1 comment |category: |Views: 5

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by brianjlowrybrianjlowry(640) 4 years, 5 months ago 0

Resharper will take care of this for you. I highly recommend that everyone get it (for C#).

Reply

information Login or create an account to comment on this story