Category: C#
-
What I have learned from 80+ RSCG
I have analyzed more than 80 Roslyn Source Code Generators – see https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG . The conclusions are here: RSCG is here to stay . There are examples from Microsoft – and a bunch of other RSCG First version of RSCG was simple,but VS not performant. The second version is more difficult to implement – but…
-
C# and Null object
There is a lot to talk i n programming that null is bad,for example https://www.yegor256.com/2014/05/13/why-null-is-bad.html and https://www.lucidchart.com/techblog/2015/08/31/the-worst-mistake-of-computer-science/ . In C# we have a love-hate relationship with null : Love : Because the value type / struct cannot be null,C# creators invented Nullable<T> https://docs.microsoft.com/en-us/dotnet/api/system.nullable-1 Hate: Because reference types / classes can be null,c# 8.0 invented nullable…
-
Video Tutorials 5 minutes
Videos: 5Min Logging 5min Send emails and SMTP4Dev 5Min Memory Profiler ( User Object and/or memory leaks) 5min SFHB 5min – .TT files in Visual Studio Playlist 5 Minutes .NET
-
runtime loading versus compile time loading
How is started : We have had a .NET meeting in Romania where one of the presenters load the MaxMind GEO-IP database to see from where the user comes from. He loads from csv into an List . He was insisting on the speed of the algorithm to find IP range. And I was thinking…