Guid\Ulid
Guid.CreateVersion7()
Ulist.NewUlid();
Cancelletion Token
cancelletationToken.ThrowIdCancellationRequester();
Waffle Engine
Create lorem ipsum but more realistin looking
UnitsNet
Convert miles to kilometer.
stackalloc
Span<int> bugger = stackalloca int[8];
not, and, or
Throw nul exception
ArgumentNullException.ThrofIfNull(input);
ValueTuple
Exception handler when
catche (HttpRequestException ex) when(ex.Message.Contains("404"))
{return "not found";}
Array last item
array[^1];
Regex match
[GeneratedRegex(@"^\d{3}-\d{2}-\d{4}$")]
private static partial Regex SsnRegex();
[Benchmark]
public bool IsValidSsnNew()
{
return SsnRegex().IsMatch(TestSsn);
}