Geek Noise
Rants, rambles, news and notes by Peter Provost
20

C# Tip: using this=that;

Tuesday, 20 May 2003 13:43 by Peter Provost

Here's something I didn't know I could do in C#:

using webctrls = System.Web.UI.WebControls;
...
protected webctrls.Label label1;

Cool. Don't need it much with the BCL, but sometimes you can get an occasional name ambiguity with 3rd party libraries and this can make it a little easier to deal with.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Technology
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed