广博吧

位置:首页 > 职场知识 > 职场英语

Interview Problems

Interview Problems
       Interview Problems Does C# support multiple-inheritance? Who is a protected class-level variable available to?   Are private class-level variables inherited?   Describe the accessibility modifier “protected internal”.   What’s the top class that everything is derived from?   What does the term immutable mean?  What’s the difference between ng and ngBuilder classes?  What’s the advantage of using ngBuilder over ng?  Can you store multiple data types in y?  What’s the difference between the To() and e()?  How can you sort the elements of the array in descending order?  What’s the collection class that allows an element to be accessed using a unique key?  What class is underneath the SortedList class?  Will the finally block get executed if an exception has not occurred?  What’s the C# syntax to catch any possible exception?  Can multiple catch blocks be executed for a single try statement?  Explain the three services model commonly know as a three-tier application.  Class Questions What is the syntax to inherit from a class in C#?   Can you prevent your class from being inherited by another class?   Can you allow a class to be inherited, but prevent the method from being over-ridden?  What’s an abstract class?  When do you absolutely have to declare a class as abstract?  What is an interface class?  Why can’t you specify the accessibility modifier for methods inside the interface?  Can you inherit multiple interfaces?  What happens if you inherit multiple interfaces and they have conflicting method names? What’s the difference between an interface and abstract class?  What is the difference between a Struct and a Class?  Method and Property Questions What’s the implicit name of the parameter that gets passed into the set method/property of a class?   What does the keyword “virtual” declare for a method or property?   How is method overriding different from method overloading?   Can you declare an override method to be static if the original method is not static?   What are the different ways a method can be overloaded?   If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?  Events and Delegates What’s a delegate?   What’s a multicast delegate? what’s an event?  XML Documentation Questions Is XML case-sensitive?   What’s the difference between // comments, /* */ comments and /// comments?   How do you generate documentation from the C# file commented properly with a command-line compiler?   Debugging and Testing Questions What debugging tools come with the SDK?  What does assert() method do?   What’s the difference between the Debug class and Trace class?   Why are there five tracing levels in eSwitcher?   Where is the output of TextWriterTraceListener redirected?   How do you debug an Web application?   What are three test cases you should go through in unit testing?   Can you change the value of a variable while debugging a C# application?  and Database Questions What is the role of the DataReader class in connections?   What are advantages and disadvantages of Microsoft-provided data provider classes in What is the wildcard character in SQL?   Explain ACID rule of thumb for transactions.  What connections does Microsoft SQL Server support?   Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?   What does the Initial Catalog parameter define in the connection string?    What does the Dispose method do with the connection object?   What is a pre-requisite for connection pooling?   Assembly Questions How is the DLL Hell problem solved in What are the ways to deploy an assembly?   What is a satellite assembly?   What namespaces are necessary to create a localized application?   What is the smallest unit of execution in When should you call the garbage collector in How do you convert a value-type to a reference-type?  What happens in memory when you Box and Unbox a value-type?
标签: