C# Tip 💡
Did you know you can use expression-body constructors?
It was introduced in C# 7.
You can specify your arguments using a tuple and deconstruct them into your property values.
The result is being able to write your constructor as an expression.
#PowerShell tip: if you're using `Get-Content` to simply read a file, it's much faster to use [System.IO.File]::ReadAllBytes() or [System.IO.File]::ReadAllText() even in a pipeline. About 95% faster! `Get-Content` is useful if you want objs per line.
#EFCore 8 News and Progress: aka.ms/ef-news
Raw SQL queries for unmapped types
- Parameterized SQL from interpolation syntax
- Uses C# parameterized constructor
- SQL can be further composed with LINQ
Merged for EF Core 8 Preview 1!
C# is used all over the game development industry.
In this #dotNETConf session replay we see an overview of different tools and frameworks to build cross-platform games with C# and #VisualStudio. 🎥 msft.it/6010etpXw
In SQL Server Management Studio we can set the COLOUR OF THE STATUS BAR when connecting to a particular DB.
This is useful to distinguish between DIFFERENT ENVIRONMENTS and should stop us doing something stupid on the WRONG DB environment...