Csharp

  • image
    A set is an unordered collection containing no duplicates. Common operations on sets include intersection, difference, and union. C# provides at least two ways of performing these operations: one is using LINQ extensions; the other, is Hashset, a generic collection.
  • image
    Access modifiers control whether a type (e.g., a class), or one of its properties can be used by other code. A public class, for instance, can be used by any code in any assembly. In this post we explore how the internal access modifier can provide a mechanism for enforcing boundaries in our architecture.