VkParameters parameters = new VkParameters(); parameters.Add("user_id", "12345"); parameters.Add("message", "Hello, World!"); // Use parameters in a request
VkParameters parameters = new VkParameters { {"user_id", "12345"}, {"message", "Hello, World!"} }; // Use parameters in a requestThis example demonstrates how to initialize a new instance of VkParameters with the parameters already added. This can be useful if you know all of the parameters you want to use ahead of time. Package library: VK.API.NET.