What is the Difference between read only and constant
variables?
Answer Posted / pankaj
Readonly variable can be assigned in run time but constant
variables cnt assign at run time.constant variables is
assigned at compile time only
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Explain metadata in c#.
Can we inherit singleton class in c#?
What is the full form of GAC? Explain its uses?
What is the property of a class in c#?
Can I do things in il that I can't do in c#?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
Which class does the remote object has to inherit?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
What is Named parameter in C#?
How do I count the length of a string in c#?
What are the types of constructors?
What is the difference between arraylist and list in c#?
What is wpf application in c#?
Can non-default constructors be used with single call sao?