1. What is the difference between Cache and Session?
2. I cache limited to page like viewstate or it's accessible
through out the application like session?
3. Which one is better when I've some data that is to be
used across the application? Why is to better than the other?
How to handle errors in Stored Procedures. I want to display
a message to the user in the .aspx page that is calling a
stored procedure in it's code behind. please help me.
2. I've a class Parent Class A and a Derived Class B. Here
is a scenario.
I've an instance of Class A as objA and an instance of Class
B as objB.
I can refer a child class variable as objB=objA, but
cannot do objA=objB what is the reason?
Which among the following two is best and why? Abstract
Class and Interface. What is the major difference in between
those two except the discrete methods and methods with
function definition.
When we have more than one main function in a program how
does the compiler know the starting point of the program, i
mean from which main the execution or compilation of the
program begins?
HR: If you get a Opportunity to go with a reputed company
which is ready to pay more than what we r going to pay
here. Will you quite the job from here or what? This is the
common question used to ask by every HR. Obviously everyone
will has to say YES but unfortunately for the hell shake we
to need to say NO so give me a correct and positive answer.