using System.Collections.Generic;
public static void Main()
Dictionary<string, object> dic = new();
dic.Add("t1", DateTime.Now);
var strList = dic.Keys.Select(key => {
return $@"{key}={value switch {
DateTime dateTime => dateTime.ToString("yyyy/MM/dd HH:mm:ss"),
Console.WriteLine(string.Join('&', strList));