J
Jay B. Harlow [MVP - Outlook]
Herfried,
Yes I agree, I think VB's method is "cleaner" & possibly more discoverable.
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
| > | BTW you don't have to indent each level
| > |
| > | using (SqlConnection connection = new ....)
| > | using (SqlCommand command = new ....)
| > | using (DataSet ds = new DataSet)
| > | {
| > | // blah
| > | }
| >
| > Ah! I was thinking there was a way...
|
| Mhm... I still think the way chosen in VB.NET is better than those of C#.
| The code above requires an additional indentation rule for the 'using'
| statement.
|
| --
| M S Herfried K. Wagner
| M V P <URL:http://dotnet.mvps.org/>
| V B <URL:http://classicvb.org/petition/>
|
Yes I agree, I think VB's method is "cleaner" & possibly more discoverable.
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
| > | BTW you don't have to indent each level
| > |
| > | using (SqlConnection connection = new ....)
| > | using (SqlCommand command = new ....)
| > | using (DataSet ds = new DataSet)
| > | {
| > | // blah
| > | }
| >
| > Ah! I was thinking there was a way...
|
| Mhm... I still think the way chosen in VB.NET is better than those of C#.
| The code above requires an additional indentation rule for the 'using'
| statement.
|
| --
| M S Herfried K. Wagner
| M V P <URL:http://dotnet.mvps.org/>
| V B <URL:http://classicvb.org/petition/>
|