DailyDrop

Conditional attribute to exclude method execution

The Conditional attribute can be used to conditionally execute a method


Read more...


Using underscore as a digit separator

Underscores can be used a digit separator on numeric literals for ease of reading


Read more...


StringSyntaxAttribute for syntax highlighting

Leverage the new StringSyntaxAttribute to enhance the developer experience


Read more...


Null checking with the is keyword

Why you should do null checking with is keyword instead of ==


Read more...


Indices and ranges

Using indices and ranges for succinct syntax when working with sequences


Read more...


Using Func<> as an intermediary

How Func or Action can be used as an intermediary when calling methods


Read more...


ArgumentNullException improvements

How its becoming easier to throw argument null exceptions


Read more...


Covariance and Contravariance in C#

Covariance and Contravariance in C# explained with examples


Read more...


Using SQL Server's OFFSET and FETCH

Using SQL Server's built in functionality to limit the number of rows returned


Read more...


Closures explained

What is a closure, and how does it work?


Read more...