Digests » 151


Add a CMS to your website in under 10 minutes

Integrate a CMS into your new or existing .NET app in minutes with ButterCMS. Butter's API-based approach means there's nothing to host or maintain.

this week's favorite

A C# Developer’s Guide to F#

There is a lot of information on the web regarding functional programming and F#, but I think very few articles are aimed at “modern” C# developers that use Linq everyday and that are familiar with the Action and Func types.

Patterns and Practices in C# 7

C# 7 is a major update with a lot of interesting new capabilities. And while there are plenty of articles on what you can do with it, there aren't quite as many on what you should do with it. Using the principles found in the .NET Framework Design Guidelines, we're going to take a first pass at laying down strategies for getting the most from these new features.

Nullable Reference Types

No, the headline isn’t a typo. One of the new proposals for C# is to assume that all reference variables are non-nullable by default. Under the new syntax, you would need to explicitly indicate when a reference variable is nullable, just as you do for value types.

Let’s make ‘yield return’ our best friend!

How many programmers you know use ‘yield‘? Seriously, if you have an occasion, ask them – I’m afraid you will notice a strange thing – everybody heard about it but (almost) nobody (including me) uses it. Time to change it!

Precise Computation of CLR Object Size

After reading this article you will find the answers to the following questions: How many bytes does an object instance take in managed code? What’s the limit for a CLR object? Are there any differences between 32-bit and 64-bit systems for memory allocation?

Join over 23,900 readers for a free weekly email with fresh news, articles and tutorials.