Can you change the value of a constant filed after its declaration?
Answer / Ashish Trivedi
No, constants in C# are read-only and cannot be changed after their declaration.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the types of threading models ?
In all methods of an interface should be derived?
What is difference between an reference type and value type in C#?
What is serialization and deserialization in c# with example?
What is the max value of int32 in c#?
Explain the top reason to use c# language?
What is lastindexof c#?
Where do we use static class in c#?
Is var a data type?
Why constructor is used in c#?
Explain the types of assemblies in .net?
How do you access a constant field declared in a class?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)