Quote:Original post by Anonymous Poster
Can you build a GUI application using VS and run it on Linux?
Yes, but you can't use Microsoft's libraries. You'll need to use
Gtk# instead, which is part of the Mono project.
Well, that's not entirely true. Mono has an incomplete implementation of System.Windows.Forms, which is a Microsoft specific library that they provide anyway. The most complex app I know of that has been ported is
Paint.NET, which is about 100 KLOC with a fairly complex GUI. You're kind of treading on thin ice there though. Gtk# is pretty much guaranteed to be safe anywhere.
I'm not about to claim that C# supports as many or more platforms as Java. Things like the cell phone sector throw that to hell. But when it comes to desktop and server machines, I can develop GUI apps in C# that can be retargeted across Windows, Linux, Mac OSX, BSD, and Solaris, running on x86, PPC, and SPARC chips, with no particular fear of problems.