In VSCode Open: File -> Preferences -> User Snippets -> C#
Pase the csharp.json
Console.WriteLine($"text");
public record RecordName(string PropertyName);
var newRecord = oldRecordName with { Prop = "NewValue" };
private static async IAsyncEnumerable<string> GetData()
{
foreach (var item in items)
yield return item;
}
Dictionary<string, string> dict = new();