D
D
DancingOnWater2014-02-06 07:50:36
C++ / C#
DancingOnWater, 2014-02-06 07:50:36

What are the main features of c#?

I have been programming in c# for three months now, having switched from c++/qt, but for all this time I still have not understood why it is better and what is more convenient to do in it. Perhaps my positive past is to blame and I'm scratching my left ear with my right hand?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel Osadchuk, 2014-02-06
@DancingOnWater

what exactly? visual interfaces? there WPF + MVVM and the most powerful system of bindings.
async in 4.5 via TAP (async-await) is extremely convenient.
building a system from components using MEF - very easy
deployment with auto-update using ClickOnce - helps a lot.
PS but in general it smacks of a desire to chill

K
kid-programmer, 2014-02-06
@kid-programmer

Applications for Windows and web applications in C # are more convenient, faster, more functional than in C ++. It seems to me that everyone has their own tasks.

K
kid-programmer, 2014-02-06
@kid-programmer


here and there I come across strange restrictions and crutches?
For example?
IMHO, ui under Windows is easier, more flexible to do on WPF. As far as I know, the C# language itself was developed with an eye on other Java, Delphi, C ++ languages, inheriting all the syntactic sugar from them, plus a lot of its goodies. If we are talking about the convenience of the language itself? I will make a reservation that I am new to this business and did not have much experience in C ++, but as for me, C # is easier to understand and apply all sorts of practices, patterns. C ++ for a lower level of programming, as far as I know, gamedev is actively developing using C #. Languages ​​for different tasks. Just depending on what you are doing in C # - OS, write drivers))) ease of use depends on this.

G
gleb_kudr, 2014-02-15
@gleb_kudr

Lambdas, Async - at least try to use this.

G
Grigory Perepechko, 2014-03-04
@GrigoryPerepechko

Type safety, presence of GC and no explicit need for memory management. You can take complete idiots to the project, and you will not see segfaults and access violations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question