You are viewing our Forum Archives. To view or take place in current topics click here.
what is the difference between C and C#?
Posted:
what is the difference between C and C#?Posted:
Status: Offline
Joined: Sep 05, 201212Year Member
Posts: 384
Reputation Power: 14
Status: Offline
Joined: Sep 05, 201212Year Member
Posts: 384
Reputation Power: 14
i have been learning C i think but what is the difference between C and C#?
#2. Posted:
Status: Offline
Joined: Jun 08, 201014Year Member
Posts: 2,466
Reputation Power: 1070
Motto: I've been watching you all day.
Motto: I've been watching you all day.
Status: Offline
Joined: Jun 08, 201014Year Member
Posts: 2,466
Reputation Power: 1070
Motto: I've been watching you all day.
I'd say the biggest difference between the two languages is that C# is object oriented and C is not, which is basically a new way of programming. It might take some time to get used to it, but it is the way to go. Even scripting languages such as PHP have full OO support for some time now.
I'm not a fan of C# though. I don't use it so someone correct me if I'm wrong, but C# can only run on a Windows machine (they developed C#) or requires a third party software platform. If you want to learn a new language then I'd look into C++ (the improved version of C, also object oriented).
I'm not a fan of C# though. I don't use it so someone correct me if I'm wrong, but C# can only run on a Windows machine (they developed C#) or requires a third party software platform. If you want to learn a new language then I'd look into C++ (the improved version of C, also object oriented).
- 1useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jan 01, 201114Year Member
Posts: 1,957
Reputation Power: 401
Status: Offline
Joined: Jan 01, 201114Year Member
Posts: 1,957
Reputation Power: 401
Nicasus wrote I'd say the biggest difference between the two languages is that C# is object oriented and C is not, which is basically a new way of programming. It might take some time to get used to it, but it is the way to go. Even scripting languages such as PHP have full OO support for some time now.
I'm not a fan of C# though. I don't use it so someone correct me if I'm wrong, but C# can only run on a Windows machine (they developed C#) or requires a third party software platform. If you want to learn a new language then I'd look into C++ (the improved version of C, also object oriented).
You are correct, C# is based on the .NET Framework therefore limited to Microsoft Windows platforms.
There are things link Mono, which can be cross platform.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Sep 05, 201212Year Member
Posts: 384
Reputation Power: 14
Status: Offline
Joined: Sep 05, 201212Year Member
Posts: 384
Reputation Power: 14
right so c# is just like c++ in sense as it has been built from c and is just an extension.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.