Interview questions and answers for 3-8 year experience

What is the difference between an abstract class and interface? When would you want to use them? OOP Concepts practical questions example in C# Static Class in C# What are Anonymous methods? What is the difference between Finalize()and Dispose()? What is the difference between ref and out parameters? What is the difference between Var, object […]

Read More

Where is View State data stored in asp net?

View State data is stored in a hidden field called “__VIEWSTATE” on a Web page. It stored data in Base64 String encoded format which can be further decoded. Sample hidden field looks like below: <input type=”hidden” name=”__VIEWSTATE” id=”__VIEWSTATE” value=”/wEPDwUKMTM1ODM3Nj…….” /> This single hidden field contains all the viewstate values for all the page controls. You […]

Read More

How to start a Thread in C#

We have to use the Thread class provided by System.Threading namespace. In the constructor of the class, we have to pass the method name which we want to run in separate thread. After than we have to call the start method of Thread class. Example:- using System; using System.Threading; namespace ConsoleApplication1 { class Program { […]

Read More

Why we need Multi-threading in our project

Multi-threading is running the multiple threads simultaneously. We can do multiple tasks simultaneously with the help of Multi-threading. For e.g. saving the details of user to a file while at the same time retrieving something from a web service. Threads are much lightweight than process. They don’t get their own resources. They used the resources […]

Read More

Understand Inheritance and Polymorphism with example

In this post, we will understand Inheritance and Polymorphism concept of OOP’S practically. In most of the interviews, interviewers ask these inheritance questions and try to confuse you but after reading this post you will easily understand and clear all your confusion. When you derive a class from a base class, the derived class will inherit […]

Read More

Explicitly implementation of Interface

In this post, We will learn how to implement multiple interfaces with same method name with an example. When a class which has inherited an interface explicitly implements methods of that class, it is called explicit implementation.This method can now be accessed only through interface instance.They are useful in cases when a class inherits two interfaces […]

Read More

Asp.Net interview questions and answers for 2-5 years experienced

Dear readers, I am writing this article after facing more than 100+  Asp.Net Interviews these Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your interview for the subject of Asp.Net, Asp.Net MVC, C#,OOPS concept,SQL and jQuery. Ques 1) Difference between Abstract class and Interface ? […]

Read More

Differentaite between Hashtable and Dictionary

Hashtable and Dictionary are collection of data structures to hold data as key-value pairs. Dictionary is generic type, hash table is not a generic type. The Hashtable is a weakly typed data structure, so you can add keys and values of any Object Type to the Hashtable. The Dictionary class is a strongly types < […]

Read More

Why do you want to leave your current job?

“I want to find a company with more opportunities. My previous company was very small and didn’t have opportunities for growth. After learning about the work environment here, I felt this is exactly the type of place I want to work.” “My current company is very large and it’s difficult to do different tasks. We […]

Read More

Razor View Engine vs Aspx View Engine

Razor View Engine 1.Razor Engine is a newly launched advance view engine that was introduced with MVC3. 2.Razor view engine File extension for C# is .cshtml 3.Razor view engine File extension for VB is .vbhtml 4.Razor view engine syntax is easy to learn than Web Form Engine syntax. 5.In Razor view syntax we use @ […]

Read More

Explain Selectors in jQuery?

jQuery Selectors are used to select one or a group of HTML elements from your web page. jQuery support all the CSS selectors as well as many additional custom selectors. jQuery selectors always start with dollar sign and parentheses: $() There are three building blocks to select the elements in a web document.

Read More