'Add Integer Data Type in Multipart Form Content C# MVC

 using (var multipartFormContent = new MultipartFormDataContent())
    {
    
    
     HttpClient httpClient = new HttpClient();
     multipartFormContent.Add( seq, "SequenceId"); // **

    }

** I want to send the "seq" as an integer in request as the HTTP Request is multipart form request it takes the strings. Any way to pass the integer here Thanks in advance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source