Top ".net" questions

Do NOT use for questions about .NET Core - use [.net-core] instead.

How to read a CSV file into a .NET Datatable

How can I load a CSV file into a System.Data.DataTable, creating the datatable based on the CSV file? …

c# .net csv datatable
ArrayList vs List<> in C#

What is the difference between ArrayList and List<> in C#? Is it only that List<> has …

c# .net list generics arraylist
Understanding events and event handlers in C#

I understand the purpose of events, especially within the context of creating user interfaces. I think this is the prototype …

c# .net events event-handling
How to increase the max upload file size in ASP.NET?

I have a form that excepts a file upload in ASP.NET. I need to increase the max upload size …

c# .net asp.net file-upload
Can a Byte[] Array be written to a file in C#?

I'm trying to write out a Byte[] array representing a complete file to a file. The original file from the …

c# .net
How to get index using LINQ?

Given a datasource like that: var c = new Car[] { new Car{ Color="Blue", Price=28000}, new Car{ Color="Red", Price=54000}, new …

c# .net linq c#-3.0
Produce a random number in a range using C#

How do I go about producing random numbers within a range?

c# .net random
.NET / C# - Convert char[] to string

What is the proper way to turn a char[] into a string? The ToString() method from an array of characters …

c# .net arrays string char
Deserialize json object into dynamic object using Json.net

Is it possible to return a dynamic object from a json deserialization using json.net? I would like to do …

c# .net json.net
Merging two arrays in .NET

Is there a built in function in .NET 2.0 that will take two arrays and merge them into one array? The …

c# .net arrays