|
-
Nov 5th, 2002, 01:14 AM
#1
Thread Starter
Addicted Member
with?
Does anyone know if there is a with statement and/or an equivalent?
Jeremy
-
Nov 5th, 2002, 03:57 AM
#2
Frenzied Member
Dont gain the world and lose your soul
-
Nov 5th, 2002, 05:01 PM
#3
yay gay
-
Nov 5th, 2002, 06:45 PM
#4
PowerPoster
Here is about as close as you'll get in C#:
Code:
using a = System;
public class Example
{
static void Main()
{
a.Console.WriteLine("Shortcut syntax");
a.Console.ReadLine();
}
}
-
Nov 6th, 2002, 10:22 AM
#5
yay gay
-
Nov 9th, 2002, 02:14 AM
#6
PowerPoster
I disagree. I think 'with' blocks make code more difficult to read. That's just my opinion. I'm bored on a late friday night, so I'm just replying to all the threads!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|