"Sharon" <Sh*****@newsgroups.nospamwrote in message
news:BC**********************************@microsof t.com...
Of course C++ CLI and C++ are different, but the definition for the
initonly
in MC++ is the same as readonly in C# (isn't it?). So I thought that it
will
nice to keep the same syntax for the same definition.
Function and syntax are totally different things. Also C++ existed long
before C#, so it is evidently C# that is in error for not using the accepted
syntax. While we're at it, let's everyone use the assembler syntax for data
segments, since this performs the same function as variable initialization
and it's nice to keep the same syntax ;)
Yes, the C++ syntax is different, but it's not any harder, you just have to
get used to it, like you got used to C# syntax. I learned C++ first, so
it's more natural for me to do things the C++ way.
>
Yes, using the property as you poster is the same as I did, but I was
wondering why can't I use the properly as a keyword only in the same line
of
the static veritable.
nevertheless, I do not need it as a property, I simply moved this static
variable as public.
--
Thanks
Sharon