using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
var a = new Dictionary<int, string> {
var b = a.Where(kvp => kvp.Value != "");
var c = b.Select(kvp => $"{kvp.Value} -- {kvp.Key}").ToList();
Console.WriteLine(ToJson(c));
internal static string ToJson(object value) => System.Text.Json.JsonSerializer.Serialize(value);