News

Option 2: Implement the ICloneable interface. The ICloneable interface requires that an object which implements it needs to define a Clone() method.. The pros. This interface comes built-in with .NET ...
In the above example, I’ve provided a basic implementation of value objects in C#. In a future post here, I’ll explore how we can implement a value object base class and discuss more advanced ...
I won't say that, all by itself, C# 9 is worth the migration to .NET 5 (I might make that claim about C# 8 and .NET Core 3.x, though). The new version of C# 9 is more than just a nice feature of .NET ...
The following example demonstrates data movement from a TextBox to the Clipboard, from the Clipboard to a DataObject, and from a DataObject into another TextBox.The GetFromClipboard method transfers ...
Using a concrete example in my base class for an ActionCommand that is derived from an ICommand. From C# 8 I get 3 warnings if the code is unchanged. Warning CS8767 Nullability of reference types in ...