Do NOT use for questions about .NET Core - use [.net-core] instead.
Canonical How can I make an HTTP request and send some data using the POST method? I can do a …
c# .net post httpwebrequest httprequestI have a TextBoxD1.Text and I want to convert it to an int to store it in a database. …
c# .net string int type-conversionI am receiving this error and I'm not sure what it means? Object reference not set to an instance of …
.net nullreferenceexceptionI have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance …
c# .net vb.net null nullreferenceexceptionI have classes like these: class MyDate { int year, month, day; } class Lad { string firstName; string lastName; MyDate dateOfBirth; } And …
c# .net json serializationA C# desktop application on the express edition worked, but then it didn't work 5 seconds later. I tried the following: …
c# .net visual-studio debugging breakpointsSometimes I get the following error while I was doing HttpWebRequest to a WebService. I copied my code below too. …
c# .net asp.net-web-api2 socketexception system.net.webexceptionI'm trying to get data from an Excel file on a button click event. My connection string is: string connString = "…
.net excel aceoledbHow do I convert a string to a byte[] in .NET (C#) without manually specifying a specific encoding? I'm going …
c# .net string character-encodingI have a byte[] array that is loaded from a file that I happen to known contains UTF-8. In some …
c# .net arrays string type-conversion