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 #.
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, , , .
Source: https://habr.com/ru/post/1771709/More articles:Limit previous dates in the DatePicker Dialog Android dialog box - androidcapitalization of library class names - pythonSet focus in TextBox after postback - javascriptIn MySql, is it possible to lock tables only with SELECT? - mysqlIs it possible to place a conditional statement inside an Html.DisplayFor call? - asp.net-mvcFixed gear array operator - pointersDoes the observer implementation have a memory leak? - design-patternsJava vs C # events - new to Java - javaOOP what happens here in this assignment - c #Can twisted be implemented in Java? - javaAll Articles