Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

C#
C#

9K
6.6K
+ 1
1.4K
C++
C++

3.6K
2.3K
+ 1
601
Add tool

C++ vs C#: What are the differences?

C++: Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation. C++ compiles directly to a machine's native code, allowing it to be one of the fastest languages in the world, if optimized; C#: Simple, general-purpose, object-oriented programming language for the .NET platform. C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.

C++ and C# belong to "Languages" category of the tech stack.

"Performance", "Control over memory allocation" and "Cross-platform" are the key factors why developers consider C++; whereas "Cool syntax", "Great lambda support" and "Great generics support" are the primary reasons why C# is favored.

Intuit, Stack Exchange, and OpenTable are some of the popular companies that use C#, whereas C++ is used by Lyft, OkCupid, and Twitch. C# has a broader approval, being mentioned in 697 company stacks & 1163 developers stacks; compared to C++, which is listed in 199 company stacks and 371 developer stacks.

- No public GitHub repository available -
- No public GitHub repository available -

What is C#?

C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.

What is C++?

C++ compiles directly to a machine's native code, allowing it to be one of the fastest languages in the world, if optimized.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose C#?
Why do developers choose C++?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using C#?
What are the cons of using C++?

Sign up to add, upvote and see more consMake informed product decisions

What companies use C#?
What companies use C++?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with C#?
What tools integrate with C++?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to C# and C++?
C
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
See all alternatives
Decisions about C# and C++
No stack decisions found
Interest over time
Reviews of C# and C++
No reviews found
How developers use C# and C++
Avatar of Arbor Health, LLC
Arbor Health, LLC uses C#C#

C# is the most productive production language - it exposes a lot of functional conveniences along with the robustness of strong typing. And they're finally embracing the open source community - a huge plus.

#Language Features We use the basic syntax (for, foreach, if,while) and object oriented constructs (classes, very simple inheritance).

We also use lambdas and block methods extensively, an intermediate level programming construct, but in a very formulaic and predictable way.

Avatar of Promethean TV
Promethean TV uses C#C#

PrometheanTV has used .NET and C# for several back-end applications and services including the Morphic Video Task System utilized to stream video assets to a variety of video delivery platforms including, Akamai, Brightcove, and others.

Avatar of Marc3842h
Marc3842h uses C++C++

C++ is used in Shiro (https://github.com/Marc3842h/shiro).

C++ is a high performance, low level programming language. Game servers need to run with fast performance to be able to reliably serve players across the globe.

Avatar of Jonathan Bro
Jonathan Bro uses C#C#

Unity3d builds the app and scripts are written in C#. It receives first class support from the Unity3d developer and most plugins exist in C# in comparison to Javascript (the other supported scripting language)

Avatar of OnlineCity
OnlineCity uses C++C++

The most latency sensitive parts are written in C++. Due to our interconnected services architecture, we use either Python or C++ for each service, with the performance critical parts being C++14.

Avatar of Carbonmade
Carbonmade uses C#C#

The main Carbonmade backend / API is written in C# and is ready to run on the CLR. We currently host on Windows but are preparing to migrate to Linux when the CoreCLR stabilizes.

Avatar of Andrew Miller
Andrew Miller uses C#C#

C# is the industry standard for Microsoft developers. It has a lot of syntactical similarities to Java & JavaScript. New releases integrate cutting-edge features.

Avatar of POROWNEO.PL
POROWNEO.PL uses C++C++

Used to write PHP extensions - AZTEC Decoder - License Driver scan - Axis2/C to PHP wrapper and Job-scheduler - Barbershop

Avatar of Luca Fulchir
Luca Fulchir uses C++C++

Performance, zero-overhead abstractions and memory safety of the modern C++ language make this the perfect language for the project.

Avatar of ApertusVR
ApertusVR uses C++C++

The main programming language of ApertusVR. C++11 & CMake provides multi-platform targeting. The architecture is modular.

How much does C# cost?
How much does C++ cost?
Pricing unavailable
Pricing unavailable
News about C++
More news