Difference between the const and readonly
Illustrate the difference between the const and readonly?
Expert
The readonly keyword is distinct from the const keyword. The const field can just be initialized at the declaration of field. The readonly field can be initialized either at declaration or in a constructor. Thus, readonly fields can encompass various values based on the constructor used. As well, while a const field is a compile-time constant, the readonly field can be employed for runtime constants as in the given illustration:
public static readonly uint l1 = (uint) DateTime.Now.Ticks;
Write the difference between for loop and the while in C#.
What are the steps involve in Assembly execution?
Name the different types of authentication techniques which are used in the connection strings to connect the .NET applications with the Microsoft SQL Server?
Write the difference between globalization and localization?
Describe the role of the DataSet object in the ADO.NET?
Explain the term Merge Module projects?
Distinguish between toolstrip drop-down button and toolstrip split button?
Explain about the DataContext class and also how it is related to the LINQ?
Name the different methods provided by a DataSet object to create XML?
State the use of the Select clause and SelectMany() method in LINQ?
18,76,764
1937341 Asked
3,689
Active Tutors
1457800
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!