Receiving new information about the pillbox there is no stopping to stumble upon interesting things :)
And here are some interesting questions:
1) When during the creation of an instance of a type the constructor is not called?
2) How does the c # compiler interpret the static modifier before the class (in IL code)?
3) What modifier of access to fields and methods does not implement c # but implements IL code.
4) Do you know how to declare Union (imitate) in C #? Those. make several fields start one shift in memory.
5) Have you ever wondered why it is impossible to define a constructor without parameters (in C #) for meaningful types (struct)? Is it possible to get around this? :)
6) If we put a code to the client where the fields were defined in the type, the client wrote his code based on our code, then we delivered the client a new version of our code where the fields are replaced with properties, then what could be broken in the client’s code?
7) All event handlers must return void ... Does Microsoft follow its requirement in the FCL library? :))
These are questions answering which you can better understand how the CLR works ...
If you like it, I'll make the second batch, more difficult :)
Prosba - do not say that the questions are too simple :) I am sure that there are many such people who will not answer at least one right :)
ps If the questions cause interest - I will post the correct answers after some discussion :)
ANSWERS')
pps And for what minusuete? Write though ...
ANSWERS