Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 16th, 2005, 07:22 AM
Authorized User
 
Join Date: May 2005
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is there a way to do the With endwith struct of VB

Is there a way to do the With endwith struct of VB in C#?


thanks and regards,
muskaan.

 
Old June 16th, 2005, 10:34 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There is no equivalent. As I find vb With blocks annoying to read when they get big I am in favor of this method:

object oShortName = really.Long[name].with("lots").Of[stuff].in(it)

oShortName...
oShortName...
oShortName...
oShortName...

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me - fill dataGridView from struct array ranjithemail C++ Programming 0 May 10th, 2008 11:53 PM
pointer to struct goscho C++ Programming 1 January 10th, 2008 07:23 AM
Dynamic array of struct bobwrx C# 2 September 14th, 2006 06:12 AM
class and struct variables are confusing webworldman C# 2 August 7th, 2006 03:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.