That's not what the OP is asking for though. Marcel gave the correct
answer. The OP is looking for a way of assigning the same value to multiple
variables, not assign multiple values to different properties/fields on an
object.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"Sathyaish" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You won't be able to do that multiple assignment at least until C# 3.0.
> And that too only for value types.
>
> Wait for object initializers in C# 3.0 for some quick initialization
> syntax.
>