Here is some questions asked during the interview process of Royal Bank of Scotland (RBS) for .NET opening.
Question. Tell me something about yourself?
Answer. Give a small introduction about professional background.
Question. Tell me about current project and technology used?
Answer. As per your current project.
Question. Rate your self for .NET, C#, Oracle?
Answer.
.NET - 7
C# - 8
Oracle - 7
Question. Lets start with .NET, What is .NET framework?
Answer. Its a platform to run .NET application, where .net applications can use .net resources.
Question. What is DLL?
Answer. Dynamic link libraries, kind of exe file.
Question. What is manifest?
Answer. Contains Details about assembly. like reference, versions, resources and type.
Question. What types of assemblies are there and what is difference?
Answer. Private and public
private is private to application and kept in local application folder
public assemblies are shared among the applications and kept in GAC.
Question. Suppose there is two versions of a assembly, how your application will decide which version to use?
Answer. In web.config under binding give old version and new version
Q. Any other way to do versioning in GAC?
Answer. Find it out.
Q. What is strong type and loose type ?
Answer. its a language property. The language who provide variable data type declaration called loose type like vb and JavaScript provide var type variable declaration while C# not. so C# is strong type language.
C# interview Questions
Question. What collection type you used?
Answer. ArrayList
Question. What is difference between arraylist and array?
Answer. Array can store single data type and inserting will cost more, while in array list you can store multiple datatypes and inserting and removing element is easy.
Question. What are delegates?
Answer. it is function to pointer.
Question. What are events?
Answer. events are used with delegate to fire a method on any event occurrence?
Question. What is use of delegate?
Answer. Used of delegate to call a function.
Question. any other use of delegate?
Answer. Find out.
Question. What is difference between list and arraylist.
Answer. list is interface while arraylist is implementation.
Question. What is dataset?
Answer. can contains tables and their relations.
Question. What is datareader?
Answer. Read one row at a time , forward only.
Question. How will you fill dropdown values using datareader?
Answer.
While(datareader.read())
{
bind every value to dropdown
}
or construct a dataset from datareader inside loop and assign to dropdown
Question. What is abstraction?
Answer. Representing complex word in simplified manner.
Question. what is OOPs ?
Answer. programming language fully supported by objects
Question. What is Objects?
Answer. by using Objects we can represent real word easily.
Question. what are the features of objects oriented programming?
encapsulation
overloading
overriding
abstraction
association
generalization
inheritance
data hiding
Question. Have you worked on multithreaded application?
Answer. yes
Question. Describe the multithreaded application ?
Answer. Describe a demo multithread application and why using multithreading.
Question. What is Strongly typed dataset?
Answer. Strongly typed dataset is simple dataset containing the property to have datatype associated with columns and can access column values by using the column names.