Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

- - - - -

What is C#?


  • Please log in to reply
107 replies to this topic

#97 PurityLake

PurityLake

    CC Regular

  • Member
  • PipPipPip
  • 36 posts
  • Location:Ireland
  • Programming Language:C++, Python
  • Learning:C, C++, Lua

Posted 04 March 2013 - 11:22 AM

is c# just a .NET implementation of C/C++? or is it more than that? i know there are quite a few syntax changes in comparison between the two


  • 0

#98 Tonchi

Tonchi

    Helping the world with programming

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1249 posts
  • Location:Zagreb
  • Programming Language:C#, Others
  • Learning:C, C++, Python, JavaScript, Transact-SQL, Assembly

Posted 04 March 2013 - 03:33 PM

C# is almost complete different language than C/C+. Look at this comparison:

 

  • C/C++: low level languages; C#: high level language
  • C/C++ is not depending on a framework (I am not talking about C++.NET); C# is depending on a framework
  • C/C++ contains unsafe code; C# contains safe code
  • C/C++ have totally different philosophy of compiling than C#
  • C/C++ are standardize; C# is changing with each edition

Those are just few of many comparisons between them. This is only what I have remembered in right this moment.


  • 2

Microsoft Student Partner, Microsoft Certified Professional


#99 PurityLake

PurityLake

    CC Regular

  • Member
  • PipPipPip
  • 36 posts
  • Location:Ireland
  • Programming Language:C++, Python
  • Learning:C, C++, Lua

Posted 05 March 2013 - 05:42 AM

C# is almost complete different language than C/C+. Look at this comparison:

 

  • C/C++: low level languages; C#: high level language
  • C/C++ is not depending on a framework (I am not talking about C++.NET); C# is depending on a framework
  • C/C++ contains unsafe code; C# contains safe code
  • C/C++ have totally different philosophy of compiling than C#
  • C/C++ are standardize; C# is changing with each edition

Those are just few of many comparisons between them. This is only what I have remembered in right this moment.

 

interesting, thanks for the info Tonchi.

Also does that mean that C# is similar to Java in the fact that they change often? and if so is C# better than Java for security? *cough cough* zero day exploits


  • 0

#100 Tonchi

Tonchi

    Helping the world with programming

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1249 posts
  • Location:Zagreb
  • Programming Language:C#, Others
  • Learning:C, C++, Python, JavaScript, Transact-SQL, Assembly

Posted 05 March 2013 - 05:46 AM

C# is fusion of several languages. C# contains something from Java like Garbage Collector. But I can't say which is better for security.

Try to find book: "Inside Microsoft .NET Assembler". It's a great book for grabing deeper inside .NET.


  • 1

Microsoft Student Partner, Microsoft Certified Professional


#101 PurityLake

PurityLake

    CC Regular

  • Member
  • PipPipPip
  • 36 posts
  • Location:Ireland
  • Programming Language:C++, Python
  • Learning:C, C++, Lua

Posted 05 March 2013 - 06:21 AM

Thanks again Tonchi


  • 0

#102 sam_coder

sam_coder

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 380 posts

Posted 05 March 2013 - 06:36 AM

C# is almost complete different language than C/C+. Look at this comparison:

 

  • C/C++: low level languages; C#: high level language
  • C/C++ is not depending on a framework (I am not talking about C++.NET); C# is depending on a framework
  • C/C++ contains unsafe code; C# contains safe code
  • C/C++ have totally different philosophy of compiling than C#
  • C/C++ are standardize; C# is changing with each edition

Those are just few of many comparisons between them. This is only what I have remembered in right this moment.

I don't write on here nearly enough to have this considered anything but trolling. lol (seriously not my intention), but I had a few opinions on this.

 

First of all, I don't consider c++ to be a low level language.  Or at least when I was taught it in school, it was described as a higher level language. (don't roll your eyes at me)  I think a few statements in here that you've made are more or less describing the .NET implementation of C# to be managed.  Like java, it sort of runs in a virtual machine.  And I don't think I've seen c# implemented in a non managed way, and while I'm no scientist, Im sure it could be..

 

See, even c++ relys on "frameworks", for example MFC (Microsoft Foundation), or MSL (Metrowerks Standard Library) for example..

 

I also wanted to point out that each version of C# has a published standard.. a couple of random google results...

http://www.ecma-inte...ds/Ecma-334.htm

http://www.iso.org/i...?csnumber=36768

 

But I completely agree, that the face of c# changes often, new features are added at almost an annoying pace. lol

 

But seriously, c# is a very different beast than c or c++.  The syntax styling is similar enough though, for me at least to call it a 'c' =)


  • 0

#103 Tonchi

Tonchi

    Helping the world with programming

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1249 posts
  • Location:Zagreb
  • Programming Language:C#, Others
  • Learning:C, C++, Python, JavaScript, Transact-SQL, Assembly

Posted 05 March 2013 - 09:02 AM

Thanks again Tonchi

If you need a tutor for C#, I am here. Also the entire community is here for you :)


  • 0

Microsoft Student Partner, Microsoft Certified Professional


#104 PurityLake

PurityLake

    CC Regular

  • Member
  • PipPipPip
  • 36 posts
  • Location:Ireland
  • Programming Language:C++, Python
  • Learning:C, C++, Lua

Posted 05 March 2013 - 09:07 AM

If you need a tutor for C#, I am here. Also the entire community is here for you :)

Thanks, perhaps if I start learning C# but for the moment C++ and Assembly are a handful


  • 0

#105 0xDEADBEEF

0xDEADBEEF

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 790 posts
  • Programming Language:C, Java, C++, C#, (Visual) Basic, Perl, Transact-SQL, Bash, Prolog, Others
  • Learning:Others

Posted 09 March 2013 - 04:57 AM

Do we define a managed language to be one with garbage collection? If so then I don't think c# can be unmanaged so to speak.

C++ is odd in that it has very low level bits and some higher level bits. It's however broadly A low level language, and if we say that basics a high level language, something like C# probably sits between the two.
  • 0

Creating SEGFAULTs since 1995.


#106 desireadil

desireadil

    CC Newcomer

  • Member
  • PipPip
  • 20 posts
  • Programming Language:C, Java, C#, JavaScript

Posted 03 April 2013 - 03:00 AM

C# is a Object oriented programming language. which is Microsoft Product. You can visit online for this. You will get lots of link.


  • 0

#107 SkHacker

SkHacker

    CC Newcomer

  • Member
  • PipPip
  • 14 posts
  • Location:INDIA
  • Programming Language:C, Java, C++, C#, PHP, (Visual) Basic, JavaScript, PL/SQL, Visual Basic .NET, Transact-SQL, Logo, Assembly, ActionScript, VBScript, Others
  • Learning:Prolog

Posted 17 February 2014 - 02:13 AM

C# is a programming language just like C and C++.

It includes features of .net and java so it is more advanced than any of them.


  • 0

#108 methue

methue

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 17 October 2014 - 04:31 AM

C# is the object oriented programming language which is simple and easy to use. This is .NET supported language which is the combination of c with classes so called c sharp. It is developed to complete with Sun's java which allow developers to create robust and secured applications that run on .NET platform. If you want to develop applications based on .NET platform then you must know this programming language which can be run with notepad and visual studio. You can get the complete knowledge of c# language from the website completecsharptutorial.com which is the best c sharp tutorial.


  • 0