Questions from an interview for the post "C # Developer"
- Name ten c # keywords.
- What is a 'static' class?
- What is the difference between overloading and overriding?
- Is multiple inheritance supported in .Net?
- Class inherits from two interfaces containing methods with the same signature. Is it possible to provide separate implementations for these methods?
- What can be a root reference?
- How 'System.String' class differs from most of other classes?
- Will there be a no-final thrown?
- What is a satellite assembly?
- How 'protected' access modifier affects visibility?
- What does keyword 'mutable'?
- Can multiple catch blocks be executed?
- What does an operator 'as' do?
- What does the keyword 'final'?
- Can you get access to your property?
- Can a class be prevented from being inherited?
- What is event?
- What is the difference between event and delegate?
- Are events synchronous or asynchronous?
- What does the keyword 'safe'?
- Can interface members be private?
- What does keyword 'in'?
- What is the advantage of using 'System.Text.StringBuilder' class over 'System.String'?
- ?
- How 'public internal' access modifier affects visibility?
- Can garbage collected it becomes out-of-scope?
- What implementations of serialization are built in FCL? Where are they used?
- How is 'protected internal' access modifier affects visibility?
- Can 'break' exit a finally block?
- How to apply attribute to method return value?
- C # class finalizer and C # class destructor?
- What is the purpose of the IDisposable interface?
- Can an array be resized at runtime?
- Does it need to be defined at compile time?
- Can a destructor have access modifiers?
- What is the smallest integer type to represent the number not greater than 40,000?
- What do keywords 'sizeof' and 'typeof' do?
- What is differece between 'sizeof' and 'Marshal.SizeOf'?
- What is the rank rank?
- What does the keyword 'stackalloc'?
- What encoding uses 'System.String' class?
- What is boxing and unboxing?
- What is reflection?
- What is struct?
- What is multicast delegate?
- Does C # have “friendship”?
- What is the 'using' statement for?
- Can a struct have methods?
- Can a struct be inherited?
- Why do I want to use event handlers use signature 'void (object, EventArgsDerivative)'?
Observed results: 12 to 30 correct answers.
')
Source: https://habr.com/ru/post/67982/
All Articles