JsonObject jsonObject = new JsonObject(); jsonObject.Add("id", 12345); jsonObject.AddLong("timestamp", 1625836746000);In this example, we create a new JsonObject and add two key-value pairs to it. The first key-value pair has a string key "id" and an integer value 12345. The second key-value pair has a string key "timestamp" and a long integer value 1625836746000. The AddLong method is a part of the System.Json package library in C#.