Top "Base-class-library" questions

The .NET Framework Base Class Library (BCL) is a library of classes, interfaces, and value types that provides access to system functionality and is designed to be the foundation on which .NET Framework applications, components, and controls are built.

Why is there no Char.Empty like String.Empty?

Is there a reason for this? I am asking because if you needed to use lots of empty chars then …

c# .net string char base-class-library
What is C# analog of C++ std::pair?

I'm interested: What is C#'s analog of std::pair in C++? I found System.Web.UI.Pair class, but …

c# .net data-structures std-pair base-class-library
Convert from BitArray to Byte

I have a BitArray with the length of 8, and I need a function to convert it to a byte. How …

c# .net binary bitarray base-class-library
How to create multiple directories from a single full path in C#?

If you have a full path like: "C:\dir0\dir1\dir2\dir3\dir4\" how would you best implement it so …

c# .net base-class-library
installing nuget package "same key has already been added."

i am trying to install Microsoft.Bcl.Build 1.0.14 nuget returns Installing 'Microsoft.Bcl.Build 1.0.14'. Successfully installed 'Microsoft.Bcl.Build 1.0.14…

c# visual-studio nuget base-class-library
CallerMemberName in .NET 4.0 not working

I am trying to use CallerMemberName attribute in .NET 4.0 via BCL portability pack. It is always returning an empty string …

c# .net .net-4.0 base-class-library callermembername
Why is a "bindingRedirect" added to the app.config file after adding the Microsoft.Bcl.Async package?

I was wondering why nuget added the following code to my applications app.config file, after installing the Microsoft.Bcl.…

c# .net app-config base-class-library
What is the maximum amount of characters or length for a Directory?

What is the maximum amount of characters that a typical path can contain for a directory when using C#? For …

c# .net base-class-library
Why is there no SortedList<T> in .NET?

Why is there only a SortedList<TKey, TValue> which looks more like a dictionary, but no SortedList<…

.net sortedlist base-class-library