Posts tagged csharp

Laziness

  • 30 December 2020
  • Tag: csharp

Let’s create a lazy list of numbers, only realized as we ask for the values. The IEnumerable interface in conjunction with the yield operator allows this.

Read more ...


Exception Handling

  • 30 December 2020
  • Tag: csharp

When using await the first exception is bubbled up.

Read more ...


How do keywords virtual and override work?

Consider the following classes:

Read more ...


C# Resources

C# Coding Conventions (C# Programming Guide)

Read more ...