Tag: difference

What is the Difference between varchar and nvarchar in SQL Server?

The SQL Server has the data type varchar and nvarchar . What is the main difference between the both ? Let’s explore it in this article. What is the Difference between varchar and nvarchar in SQL Server? varchar is a variable length and non-unicode data type which can take the 8-bit codepage. The collation of the database identifies which of the code page should be…

What is the Difference between Readonly and Const in C# ?

If you want to have a field whose value cannot be changed at runtime , you can use either const or readonly keyword . What is the Difference between ReadOnly and Const in C# ? The constant fields must be defined when declaring and cannot be changed at runtime . It is a implicitly static . The read only field can be set when declaring…