System Namespace
The fundamental types and base classes for all .NET applications.System Namespace
This namespace contains the fundamental classes and base types that are used in all .NET applications. It includes types for primitive data, strings, dates, exceptions, and more. Many other .NET namespaces are built upon the types defined in the System
namespace.
Classes
-
Object Class
Provides functionality common to all classes, including the default implementation of equality, hash code generation, and string representation.
public class Object
-
String Class
Represents text as a sequence of characters. String objects are immutable.
public sealed class String : IComparable, ICloneable, IConvertible, IEnumerable, IEnumerable<char>, IList<char>, ICollection<char>, IReadOnlyList<char>, IReadOnlyCollection<char>, IEquatable<string>
-
Int32 Struct
Represents a 32-bit signed integer.
public struct Int32 : IComparable, IComparable<int>, IEquatable<int>, IFormattable
-
Boolean Struct
Represents a Boolean value (true or false).
public struct Boolean : IComparable, IComparable<bool>, IEquatable<bool>
-
DateTime Struct
Represents an instance in time, expressed as a date and time of day.
public struct DateTime : IComparable, IComparable<DateTime>, IEquatable<DateTime>, IFormattable
-
Exception Class
The base class for all exceptions in the .NET Framework. It is the root of the exception class hierarchy.
public class Exception : _Exception
Enums
-
DayOfWeek Enum
Specifies the day of the week.
public enum DayOfWeek
-
ConsoleColor Enum
Specifies the foreground and background colors used by the console.
public enum ConsoleColor