Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: C# - Doing something like " with (this) ... " ?


Message #1 by "Oliver, Wells" <WOliver@l...> on Tue, 15 Oct 2002 10:39:12 -0700
I remember the days of VB-- you remember?-- and you could do something like:

with (objSomething)
 .apropertyOf = 1;

Anyway, I am trying to figure out if this is possible in C#. Building my
classes, I have a lot of lines that start with "this." and I would just like
to make it more efficient.

Any thoughts? Thanks!

Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com


  Return to Index