C# equivalent for VB Class DEFAULT method
From: Mortimer Schnurd (fugetaboutit_at_hotsmail.com)
Date: 04/01/04
- Next message: Ron Allen: "Re: No value given for one or more required parameters"
- Previous message: Bonj: "menus / tab controls on web - help!"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: C# equivalent for VB Class DEFAULT method"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: C# equivalent for VB Class DEFAULT method"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 01 Apr 2004 09:14:51 -0500
In VB, I could assign a "Default" to a class method. In that way, a
reference to the Class always returns the result of that
method/property (i.e. a reference to a textbox control always returns
the contents of textbox.text).
What is the C# equivalent? Is it the Indexer for that class?
-- John Wood
- Next message: Ron Allen: "Re: No value given for one or more required parameters"
- Previous message: Bonj: "menus / tab controls on web - help!"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: C# equivalent for VB Class DEFAULT method"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: C# equivalent for VB Class DEFAULT method"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|