.Net idioms learned from experience?

I am new to the .Net world, my main language was C ++, where there are many idioms that help better than code (RAII, PIMPL ...). What are the common idioms available for C #.

+3
source share
1 answer

I don't give any idioms, but since you are migrating from C ++, this might be interesting:

MSDN: C # for C ++ Developers

The following table shows important comparisons between C # and native C ++, which does not use / clr. If you are a C ++ programmer, this table will give you the most important differences between the two languages ​​at a glance.

C ++ β†’ C #: what you need to know to switch from C ++ to C #

# ++, C .NET . ++ # , , , , , . , #, , , foreach . , . -, , .

Sharp New Language: # ++ Visual Basic

, , , Visual Basic, ++. # . Microsoft # , , , , , COM + -. #, , .

++ vs. # - ++

, , , : , #, , ++, , .

10 ++, #,

(, ), , 10, , , .

+3

Source: https://habr.com/ru/post/1771709/


All Articles