Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is read only and constant

Answer Posted / payal mehta

A constant value must be initialized at the time of
declaration
and this value cannot be changed anywhere in the program.

A Read-only value can be assigned any time but it
should not be modified anywhere in the program.we can only
view not edit its value.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an interface class? Give one example of it

912


What are destructors in C#?

1555


What can be done with c#?

833


Does c# have functions?

892


Can scriptable objects have methods?

904


What are custom attributes in c#?

884


Is array passed by reference in c#?

967


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

882


Which is faster dictionary or list?

924


Are c# references the same as c++ references?

1006


What is the use of nullable types in c#?

998


What is short in c#?

976


What are the new features in c# 2.0?

983


What is the base class in .net from which all the classes are derived from?

953


Is lazy t thread safe?

951