News

Although static methods cannot be mocked easily, there are a few ways to mock static methods. You can take advantage of the Moles or Fakes framework from Microsoft to mock static method calls.
In C# 9 lambda or anonymous methods can have a static modifier. This article talks about static anonymous functions and why they are useful, using code examples to illustrate the concepts.
In a previous column, I showed how to create a "Hello, World" application that integrated JavaScript functions and C# Blazor methods. However, my Blazor-world and JavaScript-world code didn't interact ...