While there is no reason C# should be limited to the .NET Framework, that is
certainly the only platform on which C# currently runs. I've heard of
projects to Ameliorate that issue (MONO?), but I wonder whether Microsoft
would hold a technology patent over the head of any non-Microsoft OS.
Pick Java if you need platform portability or are concerned with placing all
your eggs in the Microsoft basket. Pick C# if you want to go with the
dominate desktop platform for the foreseeable future.
doug
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:opr1f4gjt8hntkfz@localhost...
Well, one of the major differences is that while they are similar on the
surface they are very different inside.
Java was designed to run on unlimited operating systems and can therefore
not utilize OS specific resources.
Framework was designed to run on specific operating systems (alas
currently only windows, but hopefully this will change soon) and accesses
the underlying system. You can code a Direct3D game under C# and suffer
only ~3% speed decrease compared to C++ and unmanaged Direct3D (according
to one of the authors of managed Direct3D on msdn).
So, while java is designed to run "everywhere" it is rather slow.
Framework runs regular programs at full speed (well, 97% full speed, but
with the full security, safe memory handling and easy coding that java
has).
--
Using M2, Opera's revolutionary e-mail client:
http://www.opera.com/m2/