Is it possible to derive your class from a base class and implement interfaces at the same time?
Yes its possible, we can use it like this
You have a specific requiremnt due to which you have to use a reserved keywords as an identifier name. How will you do that? Is it possible?
Yes its possible, You can precede the identifier with the @ symbol. This overrides the compiler error and enables you to use a keyword as an identifier.
What do you understand by unsafe mode in C#?
The C# language supports a special mode, called unsafe mode, that enables you to work directly with memory from within your C# code.
This special C# construct is called unsafe mode because your code is no longer safe from the memory-management protection offered by the CLR. In unsafe mode, your C# code is allowed to access memory directly, and it can suffer from the same class of memory-related bugs found in C and C++ code if you're not extremely careful with the way you manage memory
No comments:
Post a Comment