Archives

How to perform Shallow Copy in C# ?

To perform Shallow copy in C# , you can use the this.MemberwiseClone() method. How to perform Shallow Copy in C# ? Below is a sample code snippet that contains a method ShallowCopy to make a copy of the object.

DateTime and Null value in C#

Assume that you want a variable of type DateTime and you would like to have the uninitialized value or null value , you can use the nullable DateTime type. DateTime and Null value in C# When you define a DateTime variable and dont initialize it , the default value is the DateTime.MinValue. You can simply define the type as Nullable DateTime as shown in the…

SQLite Error 1034 – SQLITE_IOERR_FSYNC

In this post, you’ll learn about the SQLite Error Message 1034 SQLITE_IOERR_FSYNC and the reason why you are receiving the error message when you are working with the SQLite database How does this SQLite Error Message Look like? 1034 – SQLITE_IOERR_FSYNC Why do you receive this Error in SQLite? The SQLITE_IOERR_FSYNC error code is an extended error code for SQLITE_IOERR indicating an I/O error in…

Windows System Error Code 9607 – DNS_ERROR_ZONE_LOCKED (0x2587)]

In this post, you’ll learn about the Windows System Error DNS_ERROR_ZONE_LOCKED (0x2587)] and the reason why you are receiving the error message How does this Error in Windows Look like? Error Code 9607 DNS_ERROR_ZONE_LOCKED (0x2587)] Why do you receive the System Error Error Code 9607 DNS_ERROR_ZONE_LOCKED (0x2587)] in Windows? DNS zone is locked.

SQL Server Error Code – 21798 cannot execute the replication administr

In this blog post, you’ll learn more about the SQL Server Error Code 21798 and the error message description that is shown SQL Server Error Code 21798 SQL Server Error Description for the Code :21798 Cannot execute the replication administrative procedure. The ‘%s’ agent job must be added through ‘%s’ before continuing. See the documentation for ‘%s’.

C# Compiler Error – CS8152 ‘{0}’ does not implement interface membe

In this blog post, you’ll learn more about the C# Compiler Error – CS8152 and the related message description C# Compiler Error Code CS8152 C# Compiler Description for the Code :CS8152 ‘{0}’ does not implement interface member ‘{1}’. ‘{2}’ cannot implement ‘{1}’ because it does not have matching return by reference.