PDA

View Full Version : C# on a mac




druid
Aug 16, 2006, 04:10 AM
hey, im new here so sorry if this question has already been asked. I did a search but found no light.

Im interested in broadening my horizons and learning a bit of C#. However as this is part of that .net malarky im debating the ease of coding in it on my wonderful mac. Is this possible at all?

Cheers



iJed
Aug 16, 2006, 04:18 AM
Just download Mono from http://www.mono-project.com/Downloads .

There is also a Microsoft shared source version of .NET for Mac OS X. However I believe this is only version 1.1 of the framework and C# 1. Mono supports C# 2.0 and a good bit of .NET 2.0.

atmenterprises
Aug 16, 2006, 05:24 AM
I run C# under Parallels in Win XP on my iMac.

Palad1
Aug 16, 2006, 08:18 AM
There are no good native c# development environments on the Mac, and that's a crying shame.

So parallels + windows 2K + VS.Net 2005 is the best way to go.
If you're 'stuck' on a G4/G5, Virtual PC may be an option, but you'd better have 2 gigs on your machine.

Cheers,
Palad1
VPC User

slooksterPSV
Aug 16, 2006, 11:45 AM
There are no good native c# development environments on the Mac, and that's a crying shame.

So parallels + windows 2K + VS.Net 2005 is the best way to go.
If you're 'stuck' on a G4/G5, Virtual PC may be an option, but you'd better have 2 gigs on your machine.

Cheers,
Palad1
VPC User
2 Gigs, that's an understatement, better get 4 to be safe =P seriously, you eat up memory with Virtual PC. Its basically like you can't run anything else with Virtual PC running. + I hope the G4 if you do have a G4 is dual processor, cause yeah... on my iBook G4 1.33GHz, VPC runs XP at what it claims is 266MHz, and I have a GB of RAM.

hsvmoon
Aug 16, 2006, 01:02 PM
C# is just another MS twist on another's good idea. Try JAVA it is very similar to C# and is portable to almost any platform that you would want to use.

atmenterprises
Aug 16, 2006, 04:06 PM
C# is just another MS twist on another's good idea. Try JAVA it is very similar to C# and is portable to almost any platform that you would want to use.

I second that.

Grover
Aug 16, 2006, 04:32 PM
You won't get 100% compatibility out of mono but it does work very well - including it is possible to get their ASP.NET module working under Apache on OS X. If you stick to namespaces that are largely or completely implemented in mono and which are not platform-specific, for instance System.Xml, you can do quite a bit of work that way. That said, if you're going to be developing .NET code that will eventually run on Windows, you're going to want a Windows environment at least for testing.

I seldom see it mentioned but http://www.omnicore.com has a very nice (Java-based) multi-language (supports C#, VB.NET, Java and several others) IDE which you can run on Windows, Linux and OS X. It is possible to use it with mono do to .NET development on OS X.

exabytes18
Aug 16, 2006, 04:39 PM
sin (π) = 1 + (Friendē)

Do you have an imaginary friend? :o

maxrobertson
Aug 16, 2006, 06:52 PM
Just out of curiosity, how do you _say_ C#? Do you say "C Sharp" or "C Number"? I know it's a dumb question, but I've always wondered that. :o

slooksterPSV
Aug 16, 2006, 08:13 PM
Just out of curiosity, how do you _say_ C#? Do you say "C Sharp" or "C Number"? I know it's a dumb question, but I've always wondered that. :o
C#-- edit -- oops C Sharp cause its a stricter version of C - or that's what I read.

apfhex
Aug 16, 2006, 08:50 PM
Just out of curiosity, how do you _say_ C#? Do you say "C Sharp" or "C Number"? I know it's a dumb question, but I've always wondered that. :o
C Sharp. "#" in this case is pronounced as the musical term ("A note that is raised a half step") as opposed to the telephone term (the pound key) or just the number symbol.

slooksterPSV
Aug 16, 2006, 10:28 PM
C Sharp. "#" in this case is pronounced as the musical term ("A note that is raised a half step") as opposed to the telephone term (the pound key) or just the number symbol.
==OT== Odd isn't it, # means - Telephone = Pound, Music = A note that is raised a half step, Numbers = Placeholder for a number or say number x ( #x ), Game = Tic-Tac-Toe Grid =P ok so I added that one, but # does look like a slanted tic-tac-toe board.

aquanutz
Aug 16, 2006, 10:51 PM
For my .Net apps that I've written I have used both Virtual PC + VS .Net and Mono (on my intel machine)

Virtual PC really didn't run too shabby at all. I only had a 1.5 gigs of ram on my 1.25ghz G4 and it was fine.

When I got my intel machine and used mono for the command line apps, it was just fine. Everything worked cross platform as you would think it would.