.Net technical interview questions for 2+ years
I would like to share my interview questions in the technical round for candidates with 2+ years experience .Net, as this was the second round of my interview i was asked some tricky questions which i would like to share.
The following are the technical questions asked in the Interview
1.When we write a sql query "Select 1.2" and run it in the sql query builder then what is the output we get ?
2.What is the sequence of pageloads when master page is used ?
Ans : the squence in which the pages get load when master pages are used is
Load(Page)--->Load(Master)--->LoadComplete(Page)
3.When we instantiate a class variable then what are the default properties or methods we can access through that variable other than class members and class methods ?
For Example
public class Myclass()
{
public string Name;
Public string age;
}
static void main()
{
Myclass mc = new Myclass();
mc. //--->now here what are the default methods which we can access apart for the members of class i.e, Name,Age .
}
4.What is Client ID and Unique ID in master pages and where is it used ?
5.What is the significance of "Intergrated security = true" in a connection string ?
6.What is the difference in throwing exceptions using ex.message and throw ?
Finally few more questions were asked on Javascript.
It is a good guide.Thank you.It helped me a lot.