X10D Extension methods for . Returns a read-only wrapper for the array. The one-dimensional, zero-based array to wrap in a read-only wrapper. The type of the elements in the array. A wrapper for the specified array. is . Clears the contents of an array. The array to clear. The type of the elements in the array. is . Sets a range of elements in an array to the default value of each element type. The array whose elements need to be cleared. A range defining the start index and number of elements to clear. The type of the elements in the array. is . Sets a range of elements in an array to the default value of each element type. The array whose elements need to be cleared. The starting index of the range of elements to clear. The number of elements to clear. The type of the elements in the array. is . is less than the lower bound of . -or- is less zero. -or- The sum of and is greater than the size of array. Collection-related extension methods for of . Packs a collection of booleans into a . The collection of booleans to pack. An 8-bit unsigned integer containing the packed booleans. is . contains more than 8 elements. Alpha Anar Packs a collection of booleans into a . The collection of booleans to pack. A 16-bit signed integer containing the packed booleans. is . contains more than 16 elements. Packs a collection of booleans into a . The collection of booleans to pack. A 32-bit signed integer containing the packed booleans. is . contains more than 32 elements. Packs a collection of booleans into a . The collection of booleans to pack. A 64-bit signed integer containing the packed booleans. is . contains more than 64 elements. Collection-related extension methods for . Unpacks this 8-bit unsigned integer into a boolean list, treating it as a bit field. The value to unpack. An array of with length 8. Unpacks this 8-bit unsigned integer into a boolean list, treating it as a bit field. The value to unpack. When this method returns, contains the unpacked booleans from . is not large enough to contain the result. Collection-related extension methods for . Calls on each item in the collection, then clears the collection by calling . The collection to clear, and whose elements should be disposed. The type of the elements in . is . is read-only. Asynchronously calls on each item in the collection, then clears the collection by calling . The collection to clear, and whose elements should be disposed. The type of the elements in . is . is read-only. Extension methods for and similar types. Adds a key/value pair to the if the key does not already exist, or updates a key/value pair in the by using the specified function if the key already exists. The dictionary to update. The key to be added or whose value should be updated. The value to be added for an absent key. The function used to generate a new value for an existing key based on the key's existing value. The type of the keys in the dictionary. The type of the values in the dictionary. The new value for the key. This will be either be (if the key was absent) or the result of (if the key was present). is . -or- is . Adds a key/value pair to the if the key does not already exist, or updates a key/value pair in the by using the specified function if the key already exists. The dictionary to update. The key to be added or whose value should be updated. The value to be added for an absent key. The function used to generate a new value for an existing key based on the key's existing value. The type of the keys in the dictionary. The type of the values in the dictionary. The new value for the key. This will be either be (if the key was absent) or the result of (if the key was present). is . -or- is . Uses the specified functions to add a key/value pair to the if the key does not already exist, or to update a key/value pair in the if the key already exists. The dictionary to update. The key to be added or whose value should be updated. The function used to generate a value for an absent key. The function used to generate a new value for an existing key based on the key's existing value. The type of the keys in the dictionary. The type of the values in the dictionary. The new value for the key. This will be either be the result of (if the key was absent) or the result of (if the key was present). is . -or- is . -or- is . Uses the specified functions to add a key/value pair to the if the key does not already exist, or to update a key/value pair in the if the key already exists. The dictionary to update. The key to be added or whose value should be updated. The function used to generate a value for an absent key. The function used to generate a new value for an existing key based on the key's existing value. The type of the keys in the dictionary. The type of the values in the dictionary. The new value for the key. This will be either be the result of (if the key was absent) or the result of (if the key was present). is . -or- is . -or- is . Uses the specified functions and argument to add a key/value pair to the if the key does not already exist, or to update a key/value pair in the if th key already exists. The dictionary to update. The key to be added or whose value should be updated. The function used to generate a value for an absent key. The function used to generate a new value for an existing key based on the key's existing value. An argument to pass into and . The type of the keys in the dictionary. The type of the values in the dictionary. The type of an argument to pass into and . The new value for the key. This will be either be the result of (if the key was absent) or the result of (if the key was present). is . -or- is . -or- is . Uses the specified functions and argument to add a key/value pair to the if the key does not already exist, or to update a key/value pair in the if th key already exists. The dictionary to update. The key to be added or whose value should be updated. The function used to generate a value for an absent key. The function used to generate a new value for an existing key based on the key's existing value. An argument to pass into and . The type of the keys in the dictionary. The type of the values in the dictionary. The type of an argument to pass into and . The new value for the key. This will be either be the result of (if the key was absent) or the result of (if the key was present). is . -or- is . -or- is . Converts an of to a data connection string. The type of the key element of the key/value pair. The type of the value element of the key/value pair. The source dictionary. A representing the dictionary as a key=value set, concatenated with ;. is . Converts an of to a data connection string. The type of the key element of the key/value pair. The type of the value element of the key/value pair. The source dictionary. A transform function to apply to the of each element. A representing the dictionary as a key=value set, concatenated with ;. is . -or- is . Converts an of to an data connection string. The type of the key element of the key/value pair. The type of the value element of the key/value pair. The source dictionary. A transform function to apply to the of each element. A transform function to apply to the of each element. A representing the dictionary as a key=value set, concatenated with ;. is . -or- is . -or- is . Converts an of to a HTTP GET query string. The type of the key element of the key/value pair. The type of the value element of the key/value pair. The source dictionary. A representing the dictionary as a key=value set, concatenated with &. is . Converts an of to a HTTP GET query string. The type of the key element of the key/value pair. The type of the value element of the key/value pair. The source dictionary. A transform function to apply to the of each element. A representing the dictionary as a key=value set, concatenated with &. is . -or- is . Converts an of to a HTTP GET query string. The type of the key element of the key/value pair. The type of the value element of the key/value pair. The source dictionary. A transform function to apply to the of each element. A transform function to apply to the of each element. A representing the dictionary as a key=value set, concatenated with &. is . -or- is . -or- is . Extension methods for . Returns a number that represents how many elements in the specified sequence do not satisfy a condition. A sequence that contains elements to be tested and counted. A function to test each element for a condition. The type of the elements of . A number that represents how many elements in the sequence do not satisfy the condition in the function. or is null. The number of elements in is larger than . Returns the first element in a sequence that does not satisfy a specified condition. An to return an element from. A function to test each element for a condition. The type of the elements in The first element in the sequence that fails the test in the specified predicate function. or is null. No element satisfies the condition in predicate. -or- The source sequence is empty. Returns the first element in a sequence that does not satisfy a specified condition. An to return an element from. A function to test each element for a condition. The type of the elements in if is empty or if no element passes the test specified by ; otherwise, the first element in that fails the test specified by . or is null. Performs the specified action on each element of the . The whose elements on which to perform . The delegate to perform on each element of the . The argument passed to this delegate represents the index. The type of the elements in . is . -or- is . Performs the specified action on each element of the . The whose elements on which to perform . The delegate to perform on each element of the . The type of the elements in . is . -or- is . Calls on all elements of the . The enumerable collection whose elements to dispose. The type of the elements in . is . Asynchronously calls on all elements of the . The enumerable collection whose elements to dispose. The type of the elements in . is . Returns the last element in a sequence that does not satisfy a specified condition. An to return an element from. A function to test each element for a condition. The type of the elements in The last element in the sequence that fails the test in the specified predicate function. or is null. No element satisfies the condition in predicate. -or- The source sequence is empty. Returns the last element in a sequence that does not satisfy a specified condition. An to return an element from. A function to test each element for a condition. The type of the elements in if is empty or if no element passes the test specified by ; otherwise, the last element in that fails the test specified by . or is null. Reorganizes the elements in an enumerable by implementing a Fisher-Yates shuffle, and returns th shuffled result. The element type. The to shuffle. Optional. The instance to use for the shuffling. The shuffled collection. is . Filters a sequence of values based on a predicate, such that all elements in the result do not match the predicate. An to filter. A function to test each element for a condition. The type of the elements of . An that contains elements from the input sequence that do not satisfy the condition. or is . Filters a sequence of values by omitting elements that are ( in Visual Basic). An to filter. The type of the elements of . An that contains elements from the input sequence that are not ( in Visual Basic). is . Collection-related extension methods for . Unpacks this 16-bit signed integer into a boolean list, treating it as a bit field. The value to unpack. An array of with length 16. Unpacks this 16-bit signed integer into a boolean list, treating it as a bit field. The value to unpack. When this method returns, contains the unpacked booleans from . is not large enough to contain the result. Collection-related extension methods for . Unpacks this 32-bit signed integer into a boolean list, treating it as a bit field. The value to unpack. An array of with length 32. Unpacks this 32-bit signed integer into a boolean list, treating it as a bit field. The value to unpack. When this method returns, contains the unpacked booleans from . is not large enough to contain the result. Collection-related extension methods for . Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field. The value to unpack. An array of with length 64. Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field. The value to unpack. When this method returns, contains the unpacked booleans from . is not large enough to contain the result. Extension methods for and . Assigns the given value to each element of the list. The list to be filled. The value to assign to each list element. The type of the elements in the list. is . Assigns the given value to the elements of the list which are within the range of (inclusive) and the next number of indices. The list to be filled. The value to assign to each list element. A 32-bit integer that represents the index in the list at which filling begins. The number of elements to fill. The type of the elements in the list. is . is less than 0. -or- is less than 0. -or- + exceeds the bounds of the list. Searches for the specified object and returns the zero-based index of the first occurrence within the entire . The list to search The object to locate in the . The value can be for reference types. The type of elements in . The zero-based index of the first occurrence of item within the entire , if found; otherwise, -1. is . Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the that extends from the specified index to the last element. The list to search The object to locate in the . The value can be for reference types. The zero-based starting index of the search. 0 (zero) is valid in an empty list. The type of elements in . The zero-based index of the first occurrence of item within the range of elements in the that starts at index and contains count number of elements, if found; otherwise, -1. is . is outside the range of valid indexes for the . Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the that starts at the specified index and contains the specified number of elements. The list to search The object to locate in the . The value can be for reference types. The zero-based starting index of the search. 0 (zero) is valid in an empty list. The number of elements in the section to search. The type of elements in . The zero-based index of the first occurrence of item within the range of elements in the that starts at index and contains count number of elements, if found; otherwise, -1. is . is outside the range of valid indexes for the . -or- is less than 0. -or- and do not specify a valid section in the . Returns a random element from the current list using a specified instance. The element type. The source collection from which to draw. The instance to use for the shuffling. If is specified, a shared instance is used. A random element of type from . is . var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; var number = list.Random(); Removes a range of elements from the list. The list whose elements to remove. The range of elements to remove. The type of the elements in . is . defines an invalid range. defines an end index whose value is greater than or equal to the count of elements in the list. Reorganizes the elements in a list by implementing a Fisher-Yates shuffle. The element type. The to shuffle. The instance to use for the shuffling. If is specified, a shared instance is used. is . Forms a slice out of the current list that begins at a specified index. The list to slice. The index at which to begin the slice. The type of elements in . A list that consists of all elements of the current list from to the end of the list. is . is less than zero or greater than . Forms a slice out of the current list that begins at a specified index for a specified length. The list to slice. The index at which to begin the slice. The desired length for the slice. The type of elements in . A list that consists of all elements of the current list from to the end of the list. is . or + is less than zero or greater than . Swaps all elements in a list with the elements in another list. The first list. The second list. The type of the elements in and . is . -or- is . Extension methods for and Returns the number of times that a specified element appears in a span of elements of the same type. The source to search. The element to count. The type of elements in . The number of times that appears in . Returns the number of times that a specified element appears in a read-only span of elements of the same type. The source to search. The element to count. The type of elements in . The number of times that appears in . Returns a read-only wrapper for the current span. The source span. The type of elements in . A which wraps the elements in . Replaces all occurrences of a specified element in a span of elements with another specified element. The source span. The element to replace. The replacement element. The type of elements in . Splits a span of elements into sub-spans based on a delimiting element. The span to split. The delimiting element. The type of elements in . An enumerator which wraps and delimits the elements based on . Splits a span of elements into sub-spans based on a delimiting element. The span to split. The delimiting element. The type of elements in . An enumerator which wraps and delimits the elements based on . Splits a span of elements into sub-spans based on a span of delimiting elements. The span to split. The span of delimiting elements. The type of elements in . An enumerator which wraps and delimits the elements based on . Splits a span of elements into sub-spans based on a span of delimiting elements. The span to split. The span of delimiting elements. The type of elements in . An enumerator which wraps and delimits the elements based on . Enumerates the elements of a . The type of elements in the span. Initializes a new instance of the struct. The source span. The delimiting span of elements. Initializes a new instance of the struct. The source span. The delimiting element. Gets the element at the current position of the enumerator. The element in the at the current position of the enumerator. Returns the current enumerator. The current instance of . This method exists to provide the ability to enumerate within a foreach loop. It should not be called manually. Advances the enumerator to the next element of the . if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the span. Extension methods for types. Returns the value which is defined proceeding this value in the enumeration. The type of the enumeration. The value whose proceeding value to retrieve. A value of that is considered to be the next value defined after , or the first value if is the final field of the enumeration. Returns the value which is defined proceeding this value in the enumeration. The type of the enumeration. The value whose proceeding value to retrieve. A value of that is considered to be the next value defined after . is the final field of the enumeration. Returns the value which is defined preceeding this value in the enumeration. The type of the enumeration. The value whose preceeding value to retrieve. A value of that is considered to be the previous value defined after , or the last value if is the first field of the enumeration. Returns the value which is defined preceeding this value in the enumeration. The type of the enumeration. The value whose preceeding value to retrieve. A value of that is considered to be the previous value defined after , or the last value if is the first field of the enumeration. is the first field of the enumeration. Extension methods which apply to all types. Returns an array containing the specified value. The value to encapsulate. The type of . An array of type with length 1, whose only element is . Returns an enumerable collection containing the specified value. The value to encapsulate. The type of . An enumerable collection of type , whose only element is . Returns an enumerable collection containing the current value repeated a specified number of times. The value to repeat. The number of times to repeat . The type of . An enumerable collection containing repeated times. is less than 0. Extension methods for Attempts to get the value of a , and returns a value indicating the success of the operation. The nullable value. When this method returns, contains the result of , if is ; otherwise, returns the default value for . The type of the value. if the value's is ; otherwise, . Extension methods for . Returns a random value that defined in a specified enum. The instance. An enum type. A value at index n where n = . is . Returns either or based on the next generation of the current . The instance. if the return value from is greater than or equal to 0.5 -or- otherwise. is . Returns a non-negative random double-precision floating point number that is less than the specified maximum. The instance. The exclusive upper bound of the random number returned. This value must be greater than or equal to 0. A random double-precision floating point number that is greater than or equal to 0, and less than . is . is less than 0. Returns a random double-precision floating point number that is within a specified range. The instance. The inclusive lower bound of the random number returned. The exclusive upper bound of the random number returned. This value must be greater than or equal to . A random double-precision floating point number between and . is . is less than . Returns a random element from using the instance. The element type. The instance. The source collection from which to draw. A random element of type from . is is -or- is . var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; var random = new Random(); var number = random.NextFrom(list); Returns a random element from the specified span of elements using the current instance. The element type. The instance. The span of elements from which to draw. A random element of type from . is is -or- is . Span<int> span = stackalloc span[5]; // populate the span ... var random = new Random(); var number = random.NextFrom(span); Returns a random element from the specified readonly span of elements using the current instance. The element type. The instance. The readonly span of elements from which to draw. A random element of type from . is is -or- is . Span<int> span = stackalloc span[5]; // populate the span ... var random = new Random(); var number = random.NextFrom(span.AsReadOnly()); Returns a non-negative random integer. The instance. An 8-bit unsigned integer that is greater than or equal to 0, and less than . is . Returns a non-negative random integer. The instance. The exclusive upper bound of the random number to be generated. must be greater than or equal to 0. An 8-bit unsigned integer that is greater than or equal to 0, and less than ; that is, the range of return values ordinarily includes 0 but not . However, if equals 0, is returned. is . Returns a non-negative random integer. The instance. The inclusive lower bound of the random number to be generated. The exclusive upper bound of the random number to be generated. must be greater than or equal to . An 8-bit unsigned integer greater than or equal to and less than ; that is, the range of return values includes but not . If equals , is returned. is . is greater than . Returns a non-negative random integer. The instance. An 16-bit signed integer that is greater than or equal to 0, and less than . is . Returns a non-negative random integer that is less than the specified maximum. The instance. The exclusive upper bound of the random number to be generated. must be greater than or equal to 0. A 16-bit signed integer that is greater than or equal to 0, and less than ; that is, the range of return values ordinarily includes 0 but not . However, if equals 0, is returned. is . is less than 0. Returns a random integer that is within a specified range. The instance. The inclusive lower bound of the random number to be generated. The exclusive upper bound of the random number to be generated. must be greater than or equal to . An 8-bit unsigned integer greater than or equal to and less than ; that is, the range of return values includes but not . If equals , is returned. is greater than . is . Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0. The instance. A single-precision floating point number that is greater than or equal to 0.0, and less than 1.0. is . Returns a non-negative random single-precision floating point number that is less than the specified maximum. The instance. The exclusive upper bound of the random number returned. This value must be greater than or equal to 0. A random single-precision floating point number that is greater than or equal to 0, and less than . is . is less than 0. Returns a random single-precision floating point number that is within a specified range. The instance. The inclusive lower bound of the random number returned. The exclusive upper bound of the random number returned. This value must be greater than or equal to . A random single-precision floating point number between and . is . is less than . Returns a new string of a specified length which is composed of specified characters. The instance. The source collection of characters to poll. The length of the new string to generate. A whose length is equal to that of , composed of characters specified by the characters in . is . -or- is . is less than 0. Extension methods for and . Returns a value indicating whether a specific enumeration value is contained with the current span of elements. The type of the elements in . The span of elements. The value to search for. if is contained with ; otherwise, . The size of is unsupported. Returns a value indicating whether a specific enumeration value is contained with the current readonly span of elements. The type of the elements in . The readonly span of elements. The value to search for. if is contained with ; otherwise, . The size of is unsupported. Packs a of booleans into a . The span of booleans to pack. An 8-bit unsigned integer containing the packed booleans. contains more than 8 elements. Packs a of booleans into a . The span of booleans to pack. An 8-bit unsigned integer containing the packed booleans. contains more than 8 elements. Packs a of booleans into a . The span of booleans to pack. A 16-bit signed integer containing the packed booleans. contains more than 16 elements. Packs a of booleans into a . The span of booleans to pack. A 16-bit signed integer containing the packed booleans. contains more than 16 elements. Packs a of booleans into a . The span of booleans to pack. A 32-bit signed integer containing the packed booleans. contains more than 32 elements. Packs a of booleans into a . The span of booleans to pack. A 32-bit signed integer containing the packed booleans. contains more than 32 elements. Packs a of booleans into a . The span of booleans to pack. A 64-bit signed integer containing the packed booleans. contains more than 64 elements. Packs a of booleans into a . The span of booleans to pack. A 64-bit signed integer containing the packed booleans. contains more than 64 elements. Represents a circle that is composed of a 32-bit signed integer center point and radius. The empty circle. That is, a circle whose center point is (0, 0) and whose radius is 0. The unit circle. That is, a circle whose center point is (0, 0) and whose radius is 1. Initializes a new instance of the struct. The X coordinate of the center point. The Y coordinate of the center point. The radius of the circle. Initializes a new instance of the struct. The center point of the circle. The radius of the circle. Gets the area of the circle. The area of the circle, calculated as πr². Gets the center point of the circle. The center point. Gets the circumference of the circle. The circumference of the circle, calculated as 2πr. Gets the diameter of the circle. The diameter. This is always twice the . Gets the radius of the circle. The radius. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether the radius of one circle is less than that of another. The first instance. The second instance. if the of is less than that of ; otherwise, . Returns a value indicating whether the radius of one circle is greater than to that of another. The first instance. The second instance. if the of is greater than that of ; otherwise, . Returns a value indicating whether the radius of one circle is less than or equal to that of another. The first instance. The second instance. if the of is less than or equal to that of ; otherwise, . Returns a value indicating whether the radius of one circle is greater than or equal to that of another. The first instance. The second instance. if the of is greater than or equal to that of ; otherwise, . Explicitly converts a to a . The circle to convert. The converted circle. Converts a to a . The circle to convert. The converted circle. Compares this instance to another . The other object. A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of , or is . Comparison only takes into consideration the . is not an instance of . Compares this instance to another . The other circle. A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison only takes into consideration the . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents a circle that is composed of a single-precision floating-point center point and radius. The empty circle. That is, a circle whose center point is (0, 0) and whose radius is 0. The unit circle. That is, a circle whose center point is (0, 0) and whose radius is 1. Initializes a new instance of the struct. The X coordinate of the center point. The Y coordinate of the center point. The radius of the circle. Initializes a new instance of the struct. The center point of the circle. The radius of the circle. Initializes a new instance of the struct. The center point of the circle. The radius of the circle. Gets the area of the circle. The area of the circle, calculated as πr². Gets the center point of the circle. The center point. Gets the circumference of the circle. The circumference of the circle, calculated as 2πr. Gets the diameter of the circle. The diameter. This is always twice the . Gets the radius of the circle. The radius. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether the radius of one circle is less than that of another. The first instance. The second instance. if the of is less than that of ; otherwise, . Returns a value indicating whether the radius of one circle is greater than to that of another. The first instance. The second instance. if the of is greater than that of ; otherwise, . Returns a value indicating whether the radius of one circle is less than or equal to that of another. The first instance. The second instance. if the of is less than or equal to that of ; otherwise, . Returns a value indicating whether the radius of one circle is greater than or equal to that of another. The first instance. The second instance. if the of is greater than or equal to that of ; otherwise, . Implicitly converts a to a . The circle to convert. The converted circle. Converts a to a . The circle to convert. The converted circle. Compares this instance to another . The other object. A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of , or is . Comparison only takes into consideration the . is not an instance of . Compares this instance to another . The other circle. A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison only takes into consideration the . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Drawing-related extensions for . Deconstructs the current color into its ARGB components. The source color. When this method returns, contains the component of . When this method returns, contains the component of . When this method returns, contains the component of . When this method returns, contains the component of . Deconstructs the current color into its RGB components. The source color. When this method returns, contains the component of . When this method returns, contains the component of . When this method returns, contains the component of . Returns a which most closely resembles the current color. The source color. The closest . Glenn Slayden, https://stackoverflow.com/a/12340136/1467293 Returns a new with the red, green, and blue components inverted. Alpha is not affected. The color to invert. The inverted color. Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component is a new value. The color to copy. The new alpha component value. A new instance of whose , , and components are the same as that of , and whose component is . Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component is a new value. The color to copy. The new blue component value. A new instance of whose , , and components are the same as that of , and whose component is . Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component is a new value. The color to copy. The new green component value. A new instance of whose , , and components are the same as that of , and whose component is . Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component is a new value. The color to copy. The new red component value. A new instance of whose , , and components are the same as that of , and whose component is . Represents a cuboid in 3D space, which uses single-precision floating-point numbers for its coordinates. The empty cuboid. That is, a cuboid whose size is zero. A cube. That is, a cuboid whose size is the same in all three dimensions. A cube with the size (1, 1, 1). Initializes a new instance of the struct. The center X coordinate. The center Y coordinate. The center Z coordinate. The width. The height. The depth. Initializes a new instance of the struct. The center X coordinate. The center Y coordinate. The center Z coordinate. The width. The height. The depth. The yaw. The pitch. The roll. Initializes a new instance of the struct. The center point. The size. Initializes a new instance of the struct. The center point. The size. The orientation of the cuboid. Initializes a new instance of the struct. The center point. The size. The orientation of the cuboid. Gets the center point of the cuboid. The center point. Gets the orientation of this cuboid. The orientation. Gets the size of the cuboid. The size. Gets the front-top-left corner of the box, in local space. The front-top-left corner. Gets the front-top-right corner of the box, in local space. The front-top-right corner. Gets the front-bottom-left corner of the box, in local space. The front-bottom-left corner. Gets the front-bottom-right corner of the box, in local space. The front-bottom-right corner. Gets the back-top-left corner of the box, in local space. The back-top-left corner. Gets the back-top-right corner of the box, in local space. The back-top-right corner. Gets the back-bottom-left corner of the box, in local space. The back-bottom-left corner. Gets the back-bottom-right corner of the box, in local space. The back-bottom-right corner. Gets the front-top-left corner of the box, in world space. The front-top-left corner. Gets the front-top-right corner of the box, in world space. The front-top-right corner. Gets the front-bottom-left corner of the box, in world space. The front-bottom-left corner. Gets the front-bottom-right corner of the box, in world space. The front-bottom-right corner. Gets the back-bottom-left corner of the box, in world space. The back-bottom-left corner. Gets the back-bottom-right corner of the box, in world space. The back-bottom-right corner. Gets the back-bottom-right corner of the box, in world space. The back-bottom-right corner. Gets the back-bottom-right corner of the box, in world space. The back-bottom-right corner. Gets the volume of this cuboid. The volume. Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents an ellipse that is composed of a 32-bit signed integer center point and radius. The empty ellipse. That is, an ellipse whose center point is (0, 0) and whose two radii are 0. The unit ellipse. That is, an ellipse whose center point is (0, 0) and whose two radii are 1. Initializes a new instance of the struct. The X coordinate of the center point. The Y coordinate of the center point. The horizontal radius of the ellipse. The vertical radius of the ellipse. Initializes a new instance of the struct. The center point of the ellipse. The radius of the ellipse. Gets the area of the ellipse. The area of the ellipse, calculated as πab. Gets the center point of the ellipse. The center point. Gets the approximate circumference of the ellipse. The approximate circumference of the ellipse, calculated as π(a+b)(3([(a-b)²]/(a+b)²(sqrt(-3(((a-b)²)/(a+b)²)+4+10))+1). Gets the horizontal radius of the ellipse. The horizontal radius. Gets the radius of the ellipse. The radius. Gets the vertical radius of the ellipse. The vertical radius. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Implicitly converts a to an . The circle to convert. The converted ellipse. Explicitly converts an to an . The ellipse to convert. The converted ellipse. Converts a to an . The circle to convert. The converted ellipse. Converts an to an . The ellipse to convert. The converted ellipse. Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents an ellipse that is composed of a single-precision floating-point center point and radius. The empty ellipse. That is, an ellipse whose center point is (0, 0) and whose two radii are 0. The unit ellipse. That is, an ellipse whose center point is (0, 0) and whose two radii are 1. Initializes a new instance of the struct. The X coordinate of the center point. The Y coordinate of the center point. The horizontal radius of the ellipse. The vertical radius of the ellipse. Initializes a new instance of the struct. The center point of the ellipse. The radius of the ellipse. Initializes a new instance of the struct. The center point of the ellipse. The radius of the ellipse. Initializes a new instance of the struct. The center point of the ellipse. The radius of the ellipse. Gets the area of the ellipse. The area of the ellipse, calculated as πab. Gets the center point of the ellipse. The center point. Gets the approximate circumference of the ellipse. The approximate circumference of the ellipse, calculated as π(a+b)(3([(a-b)²]/(a+b)²(sqrt(-3(((a-b)²)/(a+b)²)+4+10))+1). Gets the horizontal radius of the ellipse. The horizontal radius. Gets the radius of the ellipse. The radius. Gets the vertical radius of the ellipse. The vertical radius. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Implicitly converts a to an . The circle to convert. The converted ellipse. Implicitly converts a to an . The circle to convert. The converted ellipse. Implicitly converts an to an . The ellipse to convert. The converted ellipse. Converts a to an . The circle to convert. The converted ellipse. Converts a to an . The circle to convert. The converted ellipse. Converts an to an . The ellipse to convert. The converted ellipse. Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents a line in 2D space that is composed of 32-bit signed integer X and Y coordinates. The empty line. That is, a line whose start and end points are at (0, 0). The line whose start point is at (0, 0) and end point is at (1, 1). The line whose start point is at (0, 0) and end point is at (1, 0). The line whose start point is at (0, 0) and end point is at (0, 1). Initializes a new instance of the struct by taking the start and end points. The start point. The end point. Gets the end point of the line. The end point. Gets the length of this line. The length. Gets the length of this line, squared. The squared length. Gets the start point of the line. The start point. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether the length of one line is less than that of another. The first instance. The second instance. if the of is less than that of ; otherwise, . Returns a value indicating whether the length of one line is greater than that of another. The first instance. The second instance. if the of is greater than that of ; otherwise, . Returns a value indicating whether the length of one line is less than or equal to that of another. The first instance. The second instance. if the of is less than or equal to that of ; otherwise, . Returns a value indicating whether the length of one line is greater than or equal to that of another. The first instance. The second instance. if the of is greater than or equal to that of ; otherwise, . Explicitly converts a to a . The line to convert. The converted line. Explicitly converts a to a . The line to convert. The converted line. Converts a to a . The line to convert. The converted line. Converts a to a . The line to convert. The converted line. Compares this instance to another object. The object with with which to compare A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison internally measures the property to avoid calls to . is not an instance of . Compares this instance to another . A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison internally measures the property to avoid calls to . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents a line in 3D space that is composed of 32-bit signed integer X, Y and Z coordinates. The empty line. That is, a line whose start and end points are at (0, 0). The line whose start point is at (0, 0, 0) and end point is at (1, 1, 1). The line whose start point is at (0, 0, 0) and end point is at (1, 0, 0). The line whose start point is at (0, 0, 0) and end point is at (0, 1, 0). The line whose start point is at (0, 0, 0) and end point is at (0, 0, 1). Initializes a new instance of the struct by taking the start and end points. The start point. The end point. Gets the end point of the line. The end point. Gets the length of this line. The length. Gets the length of this line, squared. The squared length. Gets the start point of the line. The start point. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether the length of one line is less than that of another. The first instance. The second instance. if the of is less than that of ; otherwise, . Returns a value indicating whether the length of one line is greater than that of another. The first instance. The second instance. if the of is greater than that of ; otherwise, . Returns a value indicating whether the length of one line is less than or equal to that of another. The first instance. The second instance. if the of is less than or equal to that of ; otherwise, . Returns a value indicating whether the length of one line is greater than or equal to that of another. The first instance. The second instance. if the of is greater than or equal to that of ; otherwise, . Implicitly converts a to a . The line to convert. The converted line. Implicitly converts a to a . The line to convert. The converted line. Converts a to a . The line to convert. The converted line. Converts a to a . The line to convert. The converted line. Compares this instance to another object. The object with with which to compare A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison internally measures the property to avoid calls to . is not an instance of . Compares this instance to another . A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison internally measures the property to avoid calls to . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents a line in 2D space that is composed of single-precision floating-point X and Y coordinates. The empty line. That is, a line whose start and end points are at (0, 0). The line whose start point is at (0, 0) and end point is at (1, 1). The line whose start point is at (0, 0) and end point is at (1, 0). The line whose start point is at (0, 0) and end point is at (0, 1). Initializes a new instance of the struct by taking the start and end points. The start point. The end point. Initializes a new instance of the struct by taking the start and end points. The start point. The end point. Gets the end point of the line. The end point. Gets the length of this line. The length. Gets the length of this line, squared. The squared length. Gets the start point of the line. The start point. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether the length of one line is less than that of another. The first instance. The second instance. if the of is less than that of ; otherwise, . Returns a value indicating whether the length of one line is greater than that of another. The first instance. The second instance. if the of is greater than that of ; otherwise, . Returns a value indicating whether the length of one line is less than or equal to that of another. The first instance. The second instance. if the of is less than or equal to that of ; otherwise, . Returns a value indicating whether the length of one line is greater than or equal to that of another. The first instance. The second instance. if the of is greater than or equal to that of ; otherwise, . Implicitly converts a to a . The line to convert. The converted line. Explicitly converts a to a . The line to convert. The converted line. Converts a to a . The line to convert. The converted line. Converts a to a . The line to convert. The converted line. Compares this instance to another object. The object with with which to compare A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison internally measures the property to avoid calls to . is not an instance of . Compares this instance to another . A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison internally measures the property to avoid calls to . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Drawing-related extension methods for . Determines if the current lies on the specified . The point to check. The line on which the point may lie. if lies on the line defined by ; otherwise . Determines if the current lies on the specified line. The point to check. The starting point of the line. The ending point of the line. if lies on the line defined by and ; otherwise . Determines if the current lies on the specified line. The point to check. The starting point of the line. The ending point of the line. if lies on the line defined by and ; otherwise . Converts the current to a . The point to convert. The resulting . Converts the current to a . The point to convert. The resulting . Converts the current to a . The point to convert. The resulting . Drawing-related extension methods for . Determines if the current lies on the specified . The point to check. The line on which the point may lie. if lies on the line defined by ; otherwise . Determines if the current lies on the specified . The point to check. The starting point of the line. The ending point of the line. if lies on the line defined by and ; otherwise . Determines if the current lies on the specified . The point to check. The starting point of the line. The ending point of the line. if lies on the line defined by and ; otherwise . Rounds the components in the current to the nearest integer. The point whose components to round. The rounded point. Rounds the components in the current to the nearest multiple of a specified number. The point whose components to round. The nearest multiple to which the components should be rounded. The rounded point. Converts the current to a . The point to convert. The resulting . Converts the current to a . The point to convert. The resulting . Represents a 2D polygon composed of 32-bit signed integer vertices. Initializes a new instance of the class. Initializes a new instance of the class by copying the specified polygon. Initializes a new instance of the class by constructing it from the specified vertices. An enumerable collection of vertices from which the polygon should be constructed. Gets an empty polygon. That is, a polygon with no vertices. An empty polygon. Returns a value indicating whether this polygon is convex. if this polygon is convex; otherwise, . Gets the number of vertices in this polygon. An value, representing the number of vertices in this polygon. Gets a read-only view of the vertices in this polygon. A of values, representing the vertices of this polygon. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Explicitly converts a to a . The polygon to convert. The converted polygon. Explicitly converts a to a . The polygon to convert. The converted polygon. is . Adds a vertex to this polygon. The vertex to add. Adds a collection of vertices to this polygon. An enumerable collection of vertices to add. is . Clears all vertices from this polygon. Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents a 2D polygon composed of single-precision floating-vertex vertices. Initializes a new instance of the class. Initializes a new instance of the class by copying the specified polygon. is . Initializes a new instance of the class by constructing it from the specified vertices. An enumerable collection of vertices from which the polygon should be constructed. is . Initializes a new instance of the class by constructing it from the specified vertices. An enumerable collection of vertices from which the polygon should be constructed. is . Gets an empty polygon. That is, a polygon with no vertices. An empty polygon. Returns a value indicating whether this polygon is convex. if this polygon is convex; otherwise, . Gets the number of vertices in this polygon. An value, representing the number of vertices in this polygon. Gets a read-only view of the vertices in this polygon. A of values, representing the vertices of this polygon. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Implicitly converts a to a . The polygon to convert. The converted polygon. Implicitly converts a to a . The polygon to convert. The converted polygon. is . Adds a vertex to this polygon. The vertex to add. Adds a vertex to this polygon. The vertex to add. Adds a collection of vertices to this polygon. An enumerable collection of vertices to add. is . Adds a collection of vertices to this polygon. An enumerable collection of vertices to add. is . Clears all vertices from this polygon. Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents a 3D polyhedron composed of single-precision floating-point points. Initializes a new instance of the class. Initializes a new instance of the class by copying the specified polyhedron. is . Initializes a new instance of the class by constructing it from the specified vertices. An enumerable collection of vertices from which the polyhedron should be constructed. is . Gets an empty polyhedron. That is, a polygon with no vertices. An empty polyhedron. Gets the number of vertices in this polyhedron. An value, representing the number of vertices in this polyhedron. Gets a read-only view of the vertices in this polyhedron. A of values, representing the vertices of this polyhedron. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Implicitly converts a to a . The polyhedron to convert. The converted polyhedron, or if is . Implicitly converts a to a . The polyhedron to convert. The converted polyhedron, or if is . Converts a to a . The polyhedron to convert. The converted polyhedron. is . Converts a to a . The polyhedron to convert. The converted polyhedron. is . Adds a vertex to this polyhedron. The vertex to add. Adds a collection of vertices to this polyhedron. An enumerable collection of vertices to add. is . Clears all vertices from this polyhedron. Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Extension methods for . Returns a color of random components for red, green, and blue. The instance. A whose red, green, and blue components are all random, and whose alpha is 255 is . Returns a color composed of random components for apha, red, green, and blue. The instance. A whose alpha, red, green, and blue components are all random. is . Drawing-related extension methods for . Converts the current to a . The size to convert. The resulting . Converts the current to a . The size to convert. The resulting . Converts the current to a . The size to convert. The resulting . Represents a sphere in 3D space, which uses single-precision floating-point numbers for its coordinates. The empty sphere. That is, a sphere with a radius of zero. The unit sphere. That is, a sphere with a radius of 1. Initializes a new instance of the struct. The X coordinate of the center point. The Y coordinate of the center point. The Z coordinate of the center point. The radius. Initializes a new instance of the struct. The center point. The radius. Gets the center-point of the sphere. The center point. Gets the circumference of the sphere. The circumference of the sphere, calculated as 2πr. Gets the diameter of the sphere. The diameter. Gets the radius of the sphere. The radius. Gets the volume of this sphere. The volume. Returns a value indicating whether two instances of are equal. The first instance. The second instance. if and are considered equal; otherwise, . Returns a value indicating whether two instances of are not equal. The first instance. The second instance. if and are considered not equal; otherwise, . Returns a value indicating whether the radius of one circle is less than that of another. The first instance. The second instance. if the of is less than that of ; otherwise, . Returns a value indicating whether the radius of one circle is greater than to that of another. The first instance. The second instance. if the of is greater than that of ; otherwise, . Returns a value indicating whether the radius of one circle is less than or equal to that of another. The first instance. The second instance. if the of is less than or equal to that of ; otherwise, . Returns a value indicating whether the radius of one circle is greater than or equal to that of another. The first instance. The second instance. if the of is greater than or equal to that of ; otherwise, . Compares this instance to another . The other object. A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of , or is . Comparison only takes into consideration the . is not an instance of . Compares this instance to another . The other sphere. A signed number indicating the relative values of this instance and . Return value Meaning Less than zero The of this instance is less than that of . Zero This instance is equal to , or the of both this instance and are not a number (), , or . Greater than zero The of this instance is greater than that of . Comparison only takes into consideration the . Returns a value indicating whether this instance and another instance are equal. The instance with which to compare. if this instance and are considered equal; otherwise, . Represents an enumeration of endianness values. The value should be read as though it uses little endian encoding. The value should be read as though it uses big endian encoding. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The buffer is too small to contain the data.. Looks up a localized string similar to Collection is read-only. Try using DisposeAll instead.. Looks up a localized string similar to Collection is read-only. Try using DisposeAllAsync instead.. Looks up a localized string similar to count must be greater than or equal to 0.. Looks up a localized string similar to Count must be positive and count must refer to a location within the string/array/collection.. Looks up a localized string similar to The destination span is too short to contain the data.. Looks up a localized string similar to The end index must be less than the list count.. Looks up a localized string similar to The end index must be greater than or equal to the start index.. Looks up a localized string similar to Must specify valid information for parsing in the string.. Looks up a localized string similar to Type provided must be an Enum.. Looks up a localized string similar to The enum has a size that is not supported.. Looks up a localized string similar to HashAlgorithm's Create method returned null reference.. Looks up a localized string similar to HashAlgorithm does not offer Create method.. Looks up a localized string similar to Index was out of range. Must be non-negative and less than or equal to the size of the collection.. Looks up a localized string similar to Length must be greater than or equal to 0.. Looks up a localized string similar to {0} cannot be greater than {1}. Looks up a localized string similar to maxValue must be greater than or equal to 0. Looks up a localized string similar to maxValue must be greater than or equal to minValue. Looks up a localized string similar to The specified object is not a valid type.. Looks up a localized string similar to The source contains no elements.. Looks up a localized string similar to The source contains too many elements.. Looks up a localized string similar to The stream does not support reading.. Looks up a localized string similar to The stream does not support writing.. Looks up a localized string similar to The length of the stream is too large.. Looks up a localized string similar to {0} does not inherit {1}. Looks up a localized string similar to {0} is not a class.. Looks up a localized string similar to {0} is not an interface.. Looks up a localized string similar to Rune.Utf8SequenceLength returns value {0} which is outside range 1 to 4 (inclusive), which is unexpected according to the official documentation.. Looks up a localized string similar to Value cannot be negative.. Looks up a localized string similar to Year cannot be zero.. Extension methods for . Returns the current boolean value as an array of bytes. The value to convert. An array of bytes with length 1. Converts a into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . IO-related extension methods for . Returns the current 8-bit unsigned integer value as an array of bytes. The number to convert. An array of bytes with length 1. Converts a into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . IO-related extension methods for . Removes all files and subdirectories in this directory, recursively, without deleting this directory. The directory to clear. The directory described by this object does not exist or could not be found. A target file is open or memory-mapped on a computer running Microsoft Windows NT. -or- There is an open handle on one of the files, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. -or- The directory is read-only. -or- The directory contains one or more files or subdirectories and recursive is false. -or- The directory is the application's current working directory. -or- There is an open handle on the directory or on one of its files, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. The caller does not have the required permission. This directory or one of its children contain a read-only file. IO-related extension methods for . Returns the current double-precision floating-point value as an array of bytes. The number to convert. An array of bytes with length 8. Returns the current double-precision floating-point value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 8. Converts the current double-precision floating-point into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current double-precision floating-point into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . IO-related extension methods for . Computes the hash of a file using the specified hash algorithm. The file whose hash to compute. The type of the whose is to be used for computing the hash. The hash of represented as an array of bytes. is . The specified file was not found. The opened file stream cannot be read. The specified does not offer a public, static. parameterless Create method, or its Create method returns a type that is not assignable to . The stream has already been disposed. Computes the hash of a file using the specified hash algorithm. The file whose hash to compute. When this method returns, contains the computed hash of . When this method returns, the total number of bytes written into destination. This parameter is treated as uninitialized. The type of the whose is to be used for computing the hash. if the destination is long enough to receive the hash; otherwise, . is . The specified file was not found. The opened file stream cannot be read. The specified does not offer a public, static. parameterless Create method, or its Create method returns a type that is not assignable to . The stream has already been disposed. IO-related extension methods for . Returns the current 16-bit signed integer value as an array of bytes. The number to convert. An array of bytes with length 2. Returns the current 16-bit signed integer value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 2. Converts the current 16-bit signed integer into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current 16-bit signed integer into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . IO-related extension methods for . Returns the current 32-bit signed integer value as an array of bytes. The number to convert. An array of bytes with length 4. Returns the current 32-bit signed integer value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 4. Converts the current 32-bit signed integer into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current 32-bit signed integer into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . IO-related extension methods for . Returns the current 64-bit signed integer value as an array of bytes. The number to convert. An array of bytes with length 8. Returns the current 64-bit signed integer value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 8. Converts the current 64-bit signed integer a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current 64-bit signed integer a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . Extension methods for array. Converts the numeric value of each element of a specified list of bytes to its equivalent hexadecimal string representation. The source list of bytes. A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in ; for example, "7F-2C-4A-00". is . Returns a double-precision floating point number converted from eight bytes. The source list of bytes. A double-precision floating point number formed by eight bytes. is . Returns a double-precision floating point number converted from eight bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A double-precision floating point number formed by eight bytes beginning at . is . Returns a 16-bit signed integer converted from two bytes. The source list of bytes. A 16-bit signed integer formed by two bytes. is . Returns a 16-bit signed integer converted from two bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A 16-bit signed integer formed by two bytes beginning at . is . Returns a 32-bit signed integer converted from four bytes. The source list of bytes. A 32-bit signed integer formed by four bytes. is . Returns a 32-bit signed integer converted from four bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A 32-bit signed integer formed by four bytes beginning at . is . Returns a 64-bit signed integer converted from eight bytes. The source list of bytes. A 64-bit signed integer formed by eight bytes. is . Returns a 64-bit signed integer converted from eight bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A 64-bit signed integer formed by eight bytes beginning at . is . Returns a single-precision floating point number converted from four bytes. The source list of bytes. A single-precision floating point number formed by four bytes. is . Returns a single-precision floating point number converted from four bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A single-precision floating point number formed by four bytes beginning at . is . Decodes all the bytes within the current list of bytes to a string, using a specified encoding. The source list of bytes. The encoding which should be used to decode . A string that contains the results of decoding the specified sequence of bytes. is . -or- is . Returns a 16-bit unsigned integer converted from two bytes. The source list of bytes. A 16-bit unsigned integer formed by two bytes. is . Returns a 16-bit unsigned integer converted from two bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A 16-bit unsigned integer formed by two bytes beginning at . is . Returns a 32-bit unsigned integer converted from four bytes. The source list of bytes. A 32-bit unsigned integer formed by four bytes. is . Returns a 32-bit unsigned integer converted from four bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A 32-bit unsigned integer formed by four bytes beginning at . is . Returns a 64-bit unsigned integer converted from eight bytes. The source list of bytes. A 64-bit unsigned integer formed by eight bytes. is . Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a list of bytes. The source list of bytes. The starting position within . A 64-bit unsigned integer formed by eight bytes beginning at . is . IO-related extension methods for . Returns the current 16-bit unsigned integer value as an array of bytes. The number to convert. An array of bytes with length 1. Converts the current 16-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . IO-related extension methods for . Returns the current single-precision floating-point value as an array of bytes. The number to convert. An array of bytes with length 4. Returns the current single-precision floating-point value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 4. Converts the current single-precision floating-point into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current single-precision floating-point into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . IO-related extension methods for . Returns the hash of the current stream as an array of bytes using the specified hash algorithm. The stream whose hash is to be computed. The type of the whose is to be used for computing the hash. The hash of represented as an array of bytes. is does not support reading. The specified does not offer a public, static. parameterless Create method, or its Create method returns a type that is not assignable to . The stream has already been disposed. Reads a decimal value from the current stream using the system's default endian encoding, and advances the stream position by sixteen bytes. The stream to read. A sixteen-byte decimal value read from the stream. Reads a decimal value from the current stream using a specified endian encoding, and advances the stream position by sixteen bytes. The stream from which the value should be read. The endian encoding to use. A decimal value read from the stream. Reads a double-precision floating point value from the current stream using the system's default endian encoding, and advances the stream position by eight bytes. The stream from which the value should be read. A double-precision floating point value read from the stream. Reads a double-precision floating point value from the current stream using a specified endian encoding, and advances the stream position by eight bytes. The stream from which the value should be read. The endian encoding to use. A double-precision floating point value read from the stream. Reads a two-byte signed integer from the current stream using the system's default endian encoding, and advances the stream position by two bytes. The stream from which the value should be read. An two-byte signed integer read from the stream. Reads a two-byte signed integer from the current stream using the specified endian encoding, and advances the stream position by two bytes. The stream from which the value should be read. The endian encoding to use. An two-byte unsigned integer read from the stream. Reads a four-byte signed integer from the current stream using the system's default endian encoding, and advances the stream position by four bytes. The stream from which the value should be read. An four-byte signed integer read from the stream. Reads a four-byte signed integer from the current stream using the specified endian encoding, and advances the stream position by four bytes. The stream from which the value should be read. The endian encoding to use. An four-byte unsigned integer read from the stream. Reads an eight-byte signed integer from the current stream using the system's default endian encoding, and advances the stream position by eight bytes. The stream from which the value should be read. An eight-byte signed integer read from the stream. Reads an eight-byte signed integer from the current stream using the specified endian encoding, and advances the stream position by eight bytes. The stream from which the value should be read. The endian encoding to use. An eight-byte unsigned integer read from the stream. Reads a single-precision floating point value from the current stream using the system's default endian encoding, and advances the stream position by four bytes. The stream from which the value should be read. A single-precision floating point value read from the stream. Reads a double-precision floating point value from the current stream using a specified endian encoding, and advances the stream position by four bytes. The stream from which the value should be read. The endian encoding to use. A single-precision floating point value read from the stream. Reads a two-byte unsigned integer from the current stream using the system's default endian encoding, and advances the stream position by two bytes. The stream from which the value should be read. An two-byte unsigned integer read from the stream. Reads a two-byte unsigned integer from the current stream using the specified endian encoding, and advances the stream position by two bytes. The stream from which the value should be read. The endian encoding to use. An two-byte unsigned integer read from the stream. Reads a four-byte unsigned integer from the current stream using the system's default endian encoding, and advances the stream position by four bytes. The stream from which the value should be read. An four-byte unsigned integer read from the stream. Reads a four-byte unsigned integer from the current stream using the specified endian encoding, and advances the stream position by four bytes. The stream from which the value should be read. The endian encoding to use. An four-byte unsigned integer read from the stream. Reads an eight-byte unsigned integer from the current stream using the system's default endian encoding, and advances the stream position by eight bytes. The stream from which the value should be read. An eight-byte unsigned integer read from the stream. Reads an eight-byte unsigned integer from the current stream using the specified endian encoding, and advances the stream position by eight bytes. The stream from which the value should be read. The endian encoding to use. An eight-byte unsigned integer read from the stream. Returns the hash of the current stream as an array of bytes using the specified hash algorithm. The stream whose hash is to be computed. When this method returns, contains the computed hash of . When this method returns, the total number of bytes written into destination. This parameter is treated as uninitialized. The type of the whose is to be used for computing the hash. if the destination is long enough to receive the hash; otherwise, . is does not support reading. The specified does not offer a public, static. parameterless Create method, or its Create method returns a type that is not assignable to . The stream has already been disposed. Writes a two-byte signed integer to the current stream using the system's default endian encoding, and advances the stream position by two bytes. The stream to which the value should be written. The two-byte signed integer to write. The number of bytes written to the stream. Writes a two-byte signed integer to the current stream using the specified endian encoding, and advances the stream position by two bytes. The stream to which the value should be written. The two-byte signed integer to write. The endian encoding to use. The number of bytes written to the stream. Writes a four-byte signed integer to the current stream using the system's default endian encoding, and advances the stream position by four bytes. The stream to which the value should be written. The four-byte signed integer to write. The number of bytes written to the stream. Writes a four-byte signed integer to the current stream using the specified endian encoding, and advances the stream position by four bytes. The stream to which the value should be written. The four-byte signed integer to write. The endian encoding to use. The number of bytes written to the stream. is . Writes an eight-byte signed integer to the current stream using the system's default endian encoding, and advances the stream position by eight bytes. The stream to which the value should be written. The eight-byte signed integer to write. The number of bytes written to the stream. is . Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the stream position by eight bytes. The stream to which the value should be written. The eight-byte signed integer to write. The endian encoding to use. The number of bytes written to the stream. is . Writes a two-byte unsigned integer to the current stream using the system's default endian encoding, and advances the stream position by two bytes. The stream to which the value should be written. The two-byte unsigned integer to write. The number of bytes written to the stream. is . Writes a two-byte unsigned integer to the current stream using the specified endian encoding, and advances the stream position by two bytes. The stream to which the value should be written. The two-byte unsigned integer to write. The endian encoding to use. The number of bytes written to the stream. is . Writes a four-byte unsigned integer to the current stream using the system's default endian encoding, and advances the stream position by four bytes. The stream to which the value should be written. The four-byte unsigned integer to write. The number of bytes written to the stream. is . Writes a four-byte unsigned integer to the current stream using the specified endian encoding, and advances the stream position by four bytes. The stream to which the value should be written. The four-byte unsigned integer to write. The endian encoding to use. The number of bytes written to the stream. is . Writes an eight-byte unsigned integer to the current stream using the system's default endian encoding, and advances the stream position by eight bytes. The stream to which the value should be written. The eight-byte unsigned integer to write. The number of bytes written to the stream. is . Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the stream position by eight bytes. The stream to which the value should be written. The eight-byte signed integer to write. The endian encoding to use. The number of bytes written to the stream. is . Writes a single-precision floating point value to the current stream using the specified endian encoding, and advances the stream position by four bytes. The stream to which the value should be written. The single-precision floating point value to write. The endian encoding to use. The number of bytes written to the stream. is . Writes a double-precision floating point value to the current stream using the specified endian encoding, and advances the stream position by eight bytes. The stream to which the value should be written. The double-precision floating point value to write. The endian encoding to use. The number of bytes written to the stream. is . Writes a decimal value to the current stream using the specified endian encoding, and advances the stream position by sixteen bytes. The stream to which the value should be written. The decimal value to write. The endian encoding to use. The number of bytes written to the stream. is . IO-related extension methods for . Enumerates the lines provided by the current text reader. The reader whose lines to enumerate. An enumerable collection of lines as read from . is . Asynchronously enumerates the lines provided by the current text reader. The reader whose lines to enumerate. An asynchronous enumerable collection of lines as read from . is . IO-related extension methods for . Writes the text representation of an 8-byte floating-point value to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte floating-point value to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte floating-point value to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte floating-point value to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte floating-point value to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte floating-point value to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte signed integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte signed integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte signed integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte signed integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte signed integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte signed integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte signed integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte signed integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte signed integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte floating-point value to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte floating-point value to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte floating-point value to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte unsigned integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte unsigned integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 4-byte unsigned integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte unsigned integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte unsigned integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator, without allocating a string. The to write to. The 8-byte unsigned integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte floating-point value to the text stream, without allocating a string. The to write to. The 8-byte floating-point value to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte floating-point value to the text stream, without allocating a string. The to write to. The 8-byte floating-point value to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte floating-point value to the text stream, without allocating a string. The to write to. The 8-byte floating-point value to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte signed integer to the text stream, without allocating a string. The to write to. The 4-byte signed integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte signed integer to the text stream, without allocating a string. The to write to. The 4-byte signed integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte signed integer to the text stream, without allocating a string. The to write to. The 4-byte signed integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, without allocating a string. The to write to. The 8-byte signed integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, without allocating a string. The to write to. The 8-byte signed integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, without allocating a string. The to write to. The 8-byte signed integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte floating-point value to the text stream, without allocating a string. The to write to. The 4-byte floating-point value to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte floating-point value to the text stream, without allocating a string. The to write to. The 4-byte floating-point value to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte floating-point value to the text stream, without allocating a string. The to write to. The 4-byte floating-point value to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte unsigned integer to the text stream, without allocating a string. The to write to. The 4-byte unsigned integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte unsigned integer to the text stream, without allocating a string. The to write to. The 4-byte unsigned integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of a 4-byte unsigned integer to the text stream, without allocating a string. The to write to. The 4-byte unsigned integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte unsigned integer to the text stream, without allocating a string. The to write to. The 8-byte unsigned integer to write. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, without allocating a string. The to write to. The 8-byte unsigned integer to write. A standard or custom numeric format string. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. Writes the text representation of an 8-byte signed integer to the text stream, without allocating a string. The to write to. The 8-byte unsigned integer to write. A standard or custom numeric format string. An object that supplies culture-specific formatting information. This method may still allocate if the integer is too large to fit in a stack-allocated buffer. is . The is closed. An I/O error occurs. IO-related extension methods for . Returns the current 16-bit unsigned integer value as an array of bytes. The number to convert. An array of bytes with length 2. Returns the current 16-bit unsigned integer value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 2. Converts the current 16-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current 16-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . IO-related extension methods for . Returns the current 32-bit unsigned integer value as an array of bytes. The number to convert. An array of bytes with length 4. Returns the current 32-bit unsigned integer value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 4. Converts the current 32-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current 32-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . IO-related extension methods for . Returns the current 64-bit unsigned integer value as an array of bytes. The number to convert. An array of bytes with length 8. Returns the current 64-bit unsigned integer value as an array of bytes. The number to convert. The endianness with which to write the bytes. An array of bytes with length 8. Converts the current 64-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . if the conversion was successful; otherwise, . Converts the current 64-bit unsigned integer into a span of bytes. The value. When this method returns, the bytes representing the converted . The endianness with which to write the bytes. if the conversion was successful; otherwise, . LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Returns an enumerable sequence of 8-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 8-bit integers, ranging from to . Returns an enumerable sequence of 16-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 16-bit integers, ranging from to . Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 32-bit integers, ranging from to . Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 64-bit integers, ranging from to . LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . LINQ-inspired extension methods for . Concatenates a single value to the end of a sequence. The source sequence. The value to concatenate to the end of the source sequence. The type of the elements in . An that contains the concatenated elements of the input sequence, and the specified value. is . Filters a sequence of values by omitting elements that match a specified value. An to filter. The value to omit. The type of the elements of . An that contains elements from the input sequence that do not match the specified value. is . Returns the minimum and maximum values in a sequence of values. A sequence of values to determine the minimum and maximum values of. The type of the elements in . A tuple containing the minimum and maximum values in . is . contains no elements. Returns the minimum and maximum values in a sequence of values, using a specified comparer. A sequence of values to determine the minimum and maximum values of. The comparer which shall be used to compare each element in the sequence. The type of the elements in . A tuple containing the minimum and maximum values in . is . contains no elements. Invokes a transform function on each element of a sequence of elements and returns the minimum and maximum values. A sequence of values to determine the minimum and maximum values of. A transform function to apply to each element. The type of the elements in . The type of the elements to compare. A tuple containing the minimum and maximum values in . is . contains no elements. Invokes a transform function on each element of a sequence of elements and returns the minimum and maximum values, using a specified comparer. A sequence of values to determine the minimum and maximum values of. A transform function to apply to each element. The comparer which shall be used to compare each element in the sequence. The type of the elements in . The type of the elements to compare. A tuple containing the minimum and maximum values in . is . contains no elements. Returns the minimum and maximum values in a sequence according to a specified key selector function. A sequence of values to determine the minimum and maximum values of. A function to extract the key for each element. The type of the elements in . The type of the elements to compare. A tuple containing the minimum and maximum values in . is . contains no elements. Returns the minimum and maximum values in a sequence according to a specified key selector function. A sequence of values to determine the minimum and maximum values of. A function to extract the key for each element. The comparer which shall be used to compare each element in the sequence. The type of the elements in . The type of the elements to compare. A tuple containing the minimum and maximum values in . is . contains no elements. LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. Returns an enumerable sequence of 16-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 16-bit integers, ranging from to . Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 32-bit integers, ranging from to . Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 64-bit integers, ranging from to . LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 32-bit integers, ranging from to . Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 64-bit integers, ranging from to . LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. The starting value of the sequence. The ending value of the sequence. An enumerable collection of 64-bit integers, ranging from to . Extension methods for . Determines whether all elements of a read-only span satisfy a condition. A that contains the elements to apply the predicate to. A function to test each element for a condition. The type of the elements of . if every element of the source sequence passes the test in the specified predicate, or if the span is empty; otherwise, . is . Determines whether any element of a read-only span satisfies a condition. A that contains the elements to apply the predicate to. A function to test each element for a condition. The type of the elements of . if the source span is not empty and at least one of its elements passes the test in the specified predicate; otherwise, . is . Returns a number that represents how many elements in the specified sequence satisfy a condition. A that contains elements to be tested and counted. A function to test each element for a condition. The type of the elements in . A number that represents how many elements in the sequence satisfy the condition in the predicate function. is . LINQ-inspired extension methods for of . Computes the product of a sequence of values. A sequence of values that are used to calculate the product. The product the values in the sequence. is . Computes the product of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. A sequence of values that are used to calculate a product. A transform function to apply to each element. The type of the elements of . The product of the projected values. is . Extension methods for . Determines whether all elements of a span satisfy a condition. A that contains the elements to apply the predicate to. A function to test each element for a condition. The type of the elements of . if every element of the source sequence passes the test in the specified predicate, or if the span is empty; otherwise, . is . Determines whether any element of a span satisfies a condition. A that contains the elements to apply the predicate to. A function to test each element for a condition. The type of the elements of . if the source span is not empty and at least one of its elements passes the test in the specified predicate; otherwise, . is . Returns a number that represents how many elements in the specified sequence satisfy a condition. A that contains elements to be tested and counted. A function to test each element for a condition. The type of the elements in . A number that represents how many elements in the sequence satisfy the condition in the predicate function. is . Math-related extension methods for . Returns the number of digits in the current integer. The value whose digit count to compute. The number of digits in . Computes the digital root of this 8-bit integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 64-bit signed integer. The value whose factorial to compute. The factorial of . is less than 0. Calculates the greatest common factor between this, and another, . The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Calculates the lowest common multiple between the current 64-bit signed integer, and another 64-bit signed integer. The first value. The second value. The lowest common multiple between and . Performs a modulo operation which supports a negative dividend. The dividend. The divisor. The result of dividend mod divisor. The % operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead remainder. This quirk inherently makes it difficult to use modulo in a negative context, as x % y where x is negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a modulo operation which supports negative dividends. ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 CC-BY-SA 2.5 Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Wraps the current integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Math-related extension methods for . Returns the number of digits in the current 8-bit unsigned integer. The value whose digit count to compute. The number of digits in . Computes the digital root of this 8-bit integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 8-bit unsigned integer. The value whose factorial to compute. The factorial of . Calculates the greatest common factor between the current 8-bit unsigned integer, and another 8-bit unsigned integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Calculates the lowest common multiple between the current 8-bit signed integer, and another 8-bit signed integer. The first value. The second value. The lowest common multiple between and . Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Wraps the current 8-bit unsigned integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 8-bit unsigned integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Determines if a specified value falls exclusively between a specified lower bound and upper bound. An type. The first comparison operand type. The second comparison operand type. The value to compare. The exclusive lower bound. The exclusive upper bound. The comparison clusivity. if is between the and -or- otherwise. int firstValue = 42; int secondValue = 15; int lower = 0; int upper = 20; Console.WriteLine($"{firstValue} between {lower} and {upper}?"); Console.WriteLine(firstValue.Between(lower, upper)); Console.WriteLine($"{secondValue} between {lower} and {upper}?"); Console.WriteLine(secondValue.Between(lower, upper)); // This will output the following: // 42 between 0 and 20? // False // 15 between 0 and 20? // True is . Returns the current value clamped to the inclusive range of and . The value to be clamped. The lower bound of the result. The upper bound of the result. An type. if . -or- if < . -or- if < . is greater than . int value = 42; int lower = 0; int upper = 20; int clamped = value.Clamp(lower, upper); // clamped will be 20 is . Determines if the current value is greater than another value. The first value. The second value. An type. The comparison operand type. if is greater than -or- otherwise. int first = 5; int second = 10; bool result = first.GreaterThan(second); // result will be False is . Determines if the current value is greater than or equal to another value. The first value. The second value. An type. The comparison operand type. if is greater than or equal to -or- otherwise. int first = 5; int second = 10; bool result = first.GreaterThanOrEqualTo(second); // result will be False is . Determines if the current value is less than another value. The first value. The second value. An type. The comparison operand type. if is less than -or- otherwise. int first = 5; int second = 10; bool result = first.LessThan(second); // result will be True is . Determines if the current value is less than or equal to another value. The first value. The second value. An type. The comparison operand type. if is less than or equal to -or- otherwise. int first = 5; int second = 10; bool result = first.LessThanOrEqualTo(second); // result will be True is . Returns the maximum of two values. The first value. The second value. A type which implements . if is greater than -or- otherwise. int first = 5; int second = 10; int max = first.Max(second); // max will be 10 is . Returns the minimum of two values. The first value. The second value. A type which implements . if is less than -or- otherwise. int first = 5; int second = 10; int min = first.Min(second); // min will be 5 is . Extension methods for . Returns the complex square root of this decimal number. The number whose square root is to be found. The square root of . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Rounds the current value to the nearest whole number. The value to round. rounded to the nearest whole number. Rounds the current value to the nearest multiple of a specified number. The value to round. The nearest multiple to which should be rounded. rounded to the nearest multiple of . Saturates this decimal number. The value to saturate. The saturated value. This method clamps between 0 and 1. Returns an integer that indicates the sign of this decimal number. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. Returns the square root of this decimal number. The number whose square root is to be found. One of the values in the following table. Return value Meaning The positive square root of . is greater than or equal to 0. is equal to or is negative. is equal to . is negative. Wraps the current decimal number between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current decimal number between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Mathematical extension methods. Returns the arccosine of the specified value. The value representing a cosine, which must be greater than or equal to -1, but less than or equal to 1. The arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ π. If is equal to , less than -1, or greater than 1, is returned. Returns the hyperbolic arccosine of the specified value. The value representing a hyperbolic cosine, which must be greater than or equal to 1, but less than or equal to . The hyperbolic arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ ∞. If is less than 1 or equal to , is returned. Returns the arcsine of the specified value. The value representing a sine, which must be greater than or equal to -1, but less than or equal to 1. The arccosine of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If is equal to , less than -1, or greater than 1, is returned. Returns the hyperbolic arcsine of the specified value. The value representing a hyperbolic sine, which must be greater than or equal to 1, but less than or equal to . The hyperbolic arccosine of , measured in radians. If is equal to , is returned. Returns the arctangent of the specified value. The value representing a tangent, which must be greater than or equal to -1, but less than or equal to 1. The arctangent of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If is equal to , is returned. Returns the hyperbolic arctangent of the specified value. The value representing a hyperbolic tangent, which must be greater than or equal to 1, but less than or equal to . The hyperbolic arctangent of , θ, measured in radians; such that -∞ < θ < -1, or 1 < θ < ∞. If is equal to , less than -1, or greater than 1, is returned. Returns the complex square root of this double-precision floating-point number. The number whose square root is to be found. The square root of . Returns the cosine of the specified angle. The angle, measured in radians. The cosine of . If is equal to , , or , this method returns . Returns the hyperbolic cosine of the specified angle. The angle, measured in radians. The hyperbolic cosine of . If is equal to or , is returned. If is equal to , is returned. Converts the current angle in degrees to its equivalent represented in radians. The angle in degrees to convert. The result of π * / 180. Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Converts the current angle in radians to its equivalent represented in degrees. The angle in radians to convert. The result of π * / 180. Rounds the current value to the nearest whole number. The value to round. rounded to the nearest whole number. Rounds the current value to the nearest multiple of a specified number. The value to round. The nearest multiple to which should be rounded. rounded to the nearest multiple of . Saturates this double-precision floating-point number. The value to saturate. The saturated value. This method clamps between 0 and 1. Returns the sine of the specified angle. The angle, in radians. The sine of . If is equal to , , or , this method returns . Returns the hyperbolic sine of the specified angle. The angle, in radians. The hyperbolic sine of . If is equal to , , or , this method returns . Returns an integer that indicates the sign of this double-precision floating-point number. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. is equal to . Returns the square root of this double-precision floating-point number. The number whose square root is to be found. One of the values in the following table. Return value Meaning The positive square root of . is greater than or equal to 0. is equal to or is negative. is equal to . SLenik https://stackoverflow.com/a/6755197/1467293 CC BY-SA 3.0 Returns the tangent of the specified angle. The angle, measured in radians. The tangent of . If is equal to , , or , this method returns . Returns the hyperbolic tangent of the specified angle. The angle, measured in radians. The hyperbolic tangent of . If is equal to , this method returns -1. If is equal to , this method returns 1. If is equal to , this method returns . Wraps the current double-precision floating-point number between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current double-precision floating-point number between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Provides options for clusivity. Indicates that the comparison will be exclusive. Indicates that the comparison will treat the upper bound as exclusive. Indicates that the comparison will treat the lower bound as exclusive. Indicates that the comparison will treat both the upper and lower bound as exclusive. Extension methods for . Returns the number of digits in the current 16-bit signed integer. The value whose digit count to compute. The number of digits in . Computes the digital root of this 16-bit integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 16-bit signed integer. The value whose factorial to compute. The factorial of . is less than 0. Calculates the greatest common factor between the current 16-bit signed integer, and another 16-bit signed integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Calculates the lowest common multiple between the current 16-bit signed integer, and another 16-bit signed integer. The first value. The second value. The lowest common multiple between and . Performs a modulo operation which supports a negative dividend. The dividend. The divisor. The result of dividend mod divisor. The % operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead remainder. This quirk inherently makes it difficult to use modulo in a negative context, as x % y where x is negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a modulo operation which supports negative dividends. ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 CC-BY-SA 2.5 Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Returns an integer that indicates the sign of this 16-bit signed integer. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. Wraps the current 16-bit signed integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 16-bit signed integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Returns the number of digits in the current 32-bit signed integer. The value whose digit count to compute. The number of digits in . Computes the digital root of this 32-bit integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 32-bit signed integer. The value whose factorial to compute. The factorial of . is less than 0. Calculates the greatest common factor between the current 32-bit signed integer, and another 32-bit signed integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Calculates the lowest common multiple between the current 32-bit signed integer, and another 32-bit signed integer. The first value. The second value. The lowest common multiple between and . Performs a modulo operation which supports a negative dividend. The dividend. The divisor. The result of dividend mod divisor. The % operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead remainder. This quirk inherently makes it difficult to use modulo in a negative context, as x % y where x is negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a modulo operation which supports negative dividends. ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 CC-BY-SA 2.5 Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Returns an integer that indicates the sign of this 32-bit signed integer. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. Wraps the current 32-bit signed integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 32-bit signed integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Returns the number of digits in the current 64-bit signed integer. The value whose digit count to compute. The number of digits in . Computes the digital root of this 64-bit integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 64-bit signed integer. The value whose factorial to compute. The factorial of . is less than 0. Calculates the greatest common factor between the current 64-bit signed integer, and another 64-bit unsigned integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Calculates the lowest common multiple between the current 64-bit signed integer, and another 64-bit signed integer. The first value. The second value. The lowest common multiple between and . Performs a modulo operation which supports a negative dividend. The dividend. The divisor. The result of dividend mod divisor. The % operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead remainder. This quirk inherently makes it difficult to use modulo in a negative context, as x % y where x is negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a modulo operation which supports negative dividends. ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 CC-BY-SA 2.5 Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Returns an integer that indicates the sign of this 64-bit signed integer. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. Wraps the current 64-bit signed integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 64-bit signed integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Provides static helpers methods for mathematical functions not found in the .NET class. Applies a simple bias function to value. The value to which the bias function will be applied. The bias value. Valid values range from 0-1. The biased result. If is less than 0.5, will be shifted downward; otherwise, upward. Applies a simple bias function to value. The value to which the bias function will be applied. The bias value. Valid values range from 0-1. The biased result. If is less than 0.5, will be shifted downward; otherwise, upward. Calculates exponential decay for a value. The value to decay. A factor by which to scale the decay. The decay amount. The exponentially decayed value. Calculates exponential decay for a value. The value to decay. A factor by which to scale the decay. The decay amount. The exponentially decayed value. Converts a gamma-encoded value to a linear value using a gamma value of 2.2. The gamma-encoded value to convert. Expected range is [0, 1]. The linear value. Converts a gamma-encoded value to a linear value using the specified gamma value. The gamma-encoded value to convert. Expected range is [0, 1]. The gamma value to use for decoding. The linear value. Converts a gamma-encoded value to a linear value using a gamma value of 2.2. The gamma-encoded value to convert. Expected range is [0, 1]. The linear value. Converts a gamma-encoded value to a linear value using the specified gamma value. The gamma-encoded value to convert. Expected range is [0, 1]. The gamma value to use for decoding. The linear value. Returns the linear interpolation inverse of a value, such that it determines where a value lies between two other values. The value whose lerp inverse is to be found. The start of the range. The end of the range. A value determined by (alpha - start) / (end - start). Returns the linear interpolation inverse of a value, such that it determines where a value lies between two other values. The value whose lerp inverse is to be found. The start of the range. The end of the range. A value determined by (alpha - start) / (end - start). Linearly interpolates from one value to a target using a specified alpha. The interpolation source. The interpolation target. The interpolation alpha. The interpolation result as determined by (1 - alpha) * value + alpha * target. Linearly interpolates from one value to a target using a specified alpha. The interpolation source. The interpolation target. The interpolation alpha. The interpolation result as determined by (1 - alpha) * value + alpha * target. Converts a linear value to a gamma-encoded value using a gamma value of 2.2. The linear value to convert. Expected range is [0, 1]. The gamma-encoded value. Converts a linear value to a gamma-encoded value using the specified gamma value. The linear value to convert. Expected range is [0, 1]. The gamma value to use for encoding. The gamma-encoded value. Converts a linear value to a gamma-encoded value using a gamma value of 2.2. The linear value to convert. Expected range is [0, 1]. The gamma-encoded value. Converts a linear value to a gamma-encoded value using the specified gamma value. The linear value to convert. Expected range is [0, 1]. The gamma value to use for encoding. The gamma-encoded value. Returns the pulse wave for a given value. The value to calculate. The inclusive lower bound of the pulse. The inclusive upper bound of the pulse. 1 if lies between and ; otherwise, 0. Returns the pulse wave for a given value. The value to calculate. The inclusive lower bound of the pulse. The inclusive upper bound of the pulse. 1 if lies between and ; otherwise, 0. Returns the incremental sawtooth wave of a given value. The value to calculate. The sawtooth wave of the given value. Returns the incremental sawtooth wave of a given value. The value to calculate. The sawtooth wave of the given value. Converts a value from being a percentage of one range, to being the same percentage in a new range. The value to convert. The old minimum value. The old maximum value. The new minimum value. The new maximum value. The scaled value. Converts a value from being a percentage of one range, to being the same percentage in a new range. The value to convert. The old minimum value. The old maximum value. The new minimum value. The new maximum value. The scaled value. Calculates the sigmoid function for the given input value. The input value for which to calculate the sigmoid function. The result of applying the sigmoid function to the input value. The sigmoid function is a commonly used activation function in artificial neural networks and logistic regression. It maps any real-valued number to a value between 0 and 1. Calculates the sigmoid function for the given input value. The input value for which to calculate the sigmoid function. The result of applying the sigmoid function to the input value. The sigmoid function is a commonly used activation function in artificial neural networks and logistic regression. It maps any real-valued number to a value between 0 and 1. Performs smooth Hermite interpolation from one value to a target using a specified alpha. The interpolation source. The interpolation target. The interpolation alpha. The interpolation result. Performs smooth Hermite interpolation from one value to a target using a specified alpha. The interpolation source. The interpolation target. The interpolation alpha. The interpolation result. Math-related extension methods for . Returns the number of digits in the current 8-bit signed integer. The value whose digit count to compute. The number of digits in . Computes the digital root of this 32-bit integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 8-bit signed integer. The value whose factorial to compute. The factorial of . is less than 0. Calculates the greatest common factor between the current 8-bit signed integer, and another 8-bit signed integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Calculates the lowest common multiple between the current 8-bit signed integer, and another 8-bit signed integer. The first value. The second value. The lowest common multiple between and . Performs a modulo operation which supports a negative dividend. The dividend. The divisor. The result of dividend mod divisor. The % operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead remainder. This quirk inherently makes it difficult to use modulo in a negative context, as x % y where x is negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a modulo operation which supports negative dividends. ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 CC-BY-SA 2.5 Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Returns an integer that indicates the sign of this 8-bit signed integer. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. Wraps the current 8-bit signed integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 8-bit signed integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Returns the arccosine of the specified value. The value representing a cosine, which must be greater than or equal to -1, but less than or equal to 1. The arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ π. If is equal to , less than -1, or greater than 1, is returned. Returns the hyperbolic arccosine of the specified value. The value representing a hyperbolic cosine, which must be greater than or equal to 1, but less than or equal to . The hyperbolic arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ ∞. If is less than 1 or equal to , is returned. Returns the arcsine of the specified value. The value representing a sine, which must be greater than or equal to -1, but less than or equal to 1. The arccosine of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If is equal to , less than -1, or greater than 1, is returned. Returns the hyperbolic arcsine of the specified value. The value representing a hyperbolic sine, which must be greater than or equal to 1, but less than or equal to . The hyperbolic arccosine of , measured in radians. If is equal to , is returned. Returns the arctangent of the specified value. The value representing a tangent, which must be greater than or equal to -1, but less than or equal to 1. The arctangent of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If is equal to , is returned. Returns the hyperbolic arctangent of the specified value. The value representing a hyperbolic tangent, which must be greater than or equal to 1, but less than or equal to . The hyperbolic arctangent of , θ, measured in radians; such that -∞ < θ < -1, or 1 < θ < ∞. If is equal to , less than -1, or greater than 1, is returned. Returns the complex square root of this single-precision floating-point number. The number whose square root is to be found. The square root of . Returns the cosine of the specified angle. The angle, measured in radians. The cosine of . If is equal to , , or , this method returns . Returns the hyperbolic cosine of the specified angle. The angle, measured in radians. The hyperbolic cosine of . If is equal to or , is returned. If is equal to , is returned. Converts the current angle in degrees to its equivalent represented in radians. The angle in degrees to convert. The result of π * / 180. Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Converts the current angle in radians to its equivalent represented in degrees. The angle in radians to convert. The result of π * / 180. Rounds the current value to the nearest whole number. The value to round. rounded to the nearest whole number. Rounds the current value to the nearest multiple of a specified number. The value to round. The nearest multiple to which should be rounded. rounded to the nearest multiple of . Saturates this single-precision floating-point number. The value to saturate. The saturated value. This method clamps between 0 and 1. Returns an integer that indicates the sign of this single-precision floating-point number. A signed number. A number that indicates the sign of , as shown in the following table. Return value Meaning -1 is less than zero. 0 is equal to zero. 1 is greater than zero. Returns the square root of this single-precision floating-point number. The number whose square root is to be found. One of the values in the following table. Return value Meaning The positive square root of . is greater than or equal to 0. is equal to or is negative. is equal to . SLenik https://stackoverflow.com/a/6755197/1467293 CC BY-SA 3.0 Returns the sine of the specified angle. The angle, measured in radians. The sine of . If is equal to , , or , this method returns . Returns the hyperbolic sine of the specified angle. The angle, measured in radians. The hyperbolic sine of . If is equal to , , or , this method returns . Returns the tangent of the specified angle. The angle, measured in radians. The tangent of . If is equal to , , or , this method returns . Returns the hyperbolic tangent of the specified angle. The angle, measured in radians. The hyperbolic tangent of . If is equal to , this method returns -1. If is equal to , this method returns 1. If is equal to , this method returns . Wraps the current single-precision floating-point number between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current single-precision floating-point number between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Returns the number of digits in the current 16-bit signed integer. The value whose digit count to compute. The number of digits in . Computes the digital root of the current 16-bit unsigned integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 16-bit unsigned integer. The value whose factorial to compute. The factorial of . Calculates the greatest common factor between the current 16-bit unsigned integer, and another 16-bit unsigned integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Calculates the lowest common multiple between the current 16-bit unsigned integer, and another 16-bit unsigned integer. The first value. The second value. The lowest common multiple between and . Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Wraps the current 16-bit unsigned integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 16-bit unsigned integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Returns the number of digits in the current 32-bit unsigned integer. The value whose digit count to compute. The number of digits in . Computes the digital root of the current 32-bit unsigned integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 32-bit unsigned integer. The value whose factorial to compute. The factorial of . Calculates the greatest common factor between the current 32-bit unsigned integer, and another 32-bit unsigned integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Calculates the lowest common multiple between the current 32-bit unsigned integer, and another 32-bit unsigned integer. The first value. The second value. The lowest common multiple between and . Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Wraps the current 32-bit unsigned integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 32-bit unsigned integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for . Returns the number of digits in the current 64-bit unsigned integer. The value whose digit count to compute. The number of digits in . Computes the digital root of the current 64-bit unsigned integer. The value whose digital root to compute. The digital root of . The digital root is defined as the recursive sum of digits until that result is a single digit. For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. Returns the factorial of the current 64-bit unsigned integer. The value whose factorial to compute. The factorial of . Calculates the greatest common factor between the current 64-bit unsigned integer, and another 64-bit unsigned integer. The first value. The second value. The greatest common factor between and . Returns a value indicating whether the current value is evenly divisible by 2. The value whose parity to check. if is evenly divisible by 2, or otherwise. Returns a value indicating whether the current value is a prime number. The value whose primality to check. if is prime; otherwise, . Returns a value indicating whether the current value is not evenly divisible by 2. The value whose parity to check. if is not evenly divisible by 2, or otherwise. Calculates the lowest common multiple between the current 64-bit unsigned integer, and another 64-bit unsigned integer. The first value. The second value. The lowest common multiple between and . Returns the multiplicative persistence of a specified value. The value whose multiplicative persistence to calculate. The multiplicative persistence. Multiplicative persistence is defined as the recursive digital product until that product is a single digit. Wraps the current 64-bit unsigned integer between a low and a high value. The value to wrap. The inclusive lower bound. The exclusive upper bound. The wrapped value. Wraps the current 64-bit unsigned integer between 0 and a high value. The value to wrap. The exclusive upper bound. The wrapped value. Extension methods for and derived types. Returns the hostname for the current . The endpoint whose hostname to get. if is . -or- if is . -or- otherwise. is . Returns the port number for the current . The endpoint whose port number to get. if is . -or- if is . -or- 0 otherwise. is . Network-related extension methods for . Converts a 16-bit signed integer value from host byte order to network byte order. The value to convert, expressed in host byte order. An integer value, expressed in network byte order. Converts a 16-bit signed integer value from network byte order to host byte order. The value to convert, expressed in network byte order. An integer value, expressed in host byte order. IO-related extension methods for . Converts a 32-bit signed integer value from host byte order to network byte order. The value to convert, expressed in host byte order. An integer value, expressed in network byte order. Converts a 32-bit signed integer value from network byte order to host byte order. The value to convert, expressed in network byte order. An integer value, expressed in host byte order. IO-related extension methods for . Converts a 64-bit signed integer value from host byte order to network byte order. The value to convert, expressed in host byte order. An integer value, expressed in network byte order. Converts a 64-bit signed integer value from network byte order to host byte order. The value to convert, expressed in network byte order. An integer value, expressed in host byte order. Extension methods for . Returns a value indicating whether the specified IP address is a valid IPv4 address. The IP address to check. if the specified IP address is a valid IPv4 address; otherwise, . is . Returns a value indicating whether the specified IP address is a valid IPv6 address. The IP address to check. if the specified IP address is a valid IPv6 address; otherwise, . is . Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Rotates the specified point with the specified rotation. The rotation. The point. The rotated point. Converts this quaternion to an axis/angle pair. The quaternion to convert. A tuple containing the converted axis, and the angle in radians. Converts this quaternion to a containing an Euler representation of the rotation. The quaternion to convert. The Euler representation of , in radians. Extension methods for . Returns a randomly generated rotation as represented by a . The instance. A constructed from 3 random single-precision floating point numbers representing the yaw, pitch, and roll. is . Returns a randomly generated rotation with uniform distribution. The instance. A constructed with uniform distribution. is . Returns a with magnitude 1 whose components indicate a random point on the unit circle. The instance A whose returns 1, and whose components indicate a random point on the unit circle. Returns a with magnitude 1 whose components indicate a random point on the unit sphere. The instance A whose returns 1, and whose components indicate a random point on the unit sphere. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-related extension methods for . Returns the population count (number of bits set) of a mask. The mask. The population count of . This method is similar in behavior to the x86 instruction POPCNT Rotates the current value left by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. The rotated value. Rotates the current value right by the specified number of bits. The value to rotate. The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. The rotated value. Rounds the current value up to a power of two. The value to round. The smallest power of two that's greater than or equal to , or 0 if is 0 or the result overflows. Numeric-extensions for . Deconstructs the current into its components. The vector to deconstruct. The X component value. The Y component value. Determines if the current lies on the specified line. The point to check. The line on which the point may lie. if lies on the line defined by ; otherwise . Determines if the current lies on the specified line. The point to check. The starting point of the line. The ending point of the line. if lies on the line defined by and ; otherwise . Determines if the current lies on the specified line. The point to check. The starting point of the line. The ending point of the line. if lies on the line defined by and ; otherwise . Rounds the components in the current to the nearest integer. The vector whose components to round. The rounded vector. Rounds the components in the current to the nearest multiple of a specified number. The vector whose components to round. The nearest multiple to which the components should be rounded. The rounded vector. Converts the current to a . The vector to convert. The resulting . Converts the current to a . The vector to convert. The resulting . Returns a vector whose Y component is the same as the specified vector, and whose X component is a new value. The vector to copy. The new X component value. A new instance of whose components is the same as that of , and whose component is . Returns a vector whose X component is the same as the specified vector, and whose Y component is a new value. The vector to copy. The new Y component value. A new instance of whose components is the same as that of , and whose component is . Numeric-extensions for . Deconstructs the current into its components. The vector to deconstruct. The X component value. The Y component value. The Z component value. Rounds the components in the current to the nearest integer. The vector whose components to round. The rounded vector. Rounds the components in the current to the nearest multiple of a specified number. The vector whose components to round. The nearest multiple to which the components should be rounded. The rounded vector. Returns a vector whose Y and Z components are the same as the specified vector, and whose X component is a new value. The vector to copy. The new X component value. A new instance of whose and components are the same as that of , and whose component is . Returns a vector whose X and Z components are the same as the specified vector, and whose Y component is a new value. The vector to copy. The new Y component value. A new instance of whose and components are the same as that of , and whose component is . Returns a vector whose X and Y components are the same as the specified vector, and whose Z component is a new value. The vector to copy. The new Z component value. A new instance of whose and components are the same as that of , and whose component is . Numeric-extensions for . Deconstructs the current into its components. The vector to deconstruct. The X component value. The Y component value. The Z component value. The W component value. Rounds the components in the current to the nearest integer. The vector whose components to round. The rounded vector. Rounds the components in the current to the nearest multiple of a specified number. The vector whose components to round. The nearest multiple to which the components should be rounded. The rounded vector. Returns a vector whose Y, Z, and W components are the same as the specified vector, and whose X component is a new value. The vector to copy. The new X component value. A new instance of whose , , and components are the same as that of , and whose component is . Returns a vector whose X, Z, and W components are the same as the specified vector, and whose Y component is a new value. The vector to copy. The new Y component value. A new instance of whose , , and components are the same as that of , and whose component is . Returns a vector whose X, Y, and W components are the same as the specified vector, and whose Z component is a new value. The vector to copy. The new Z component value. A new instance of whose , , and components are the same as that of , and whose component is . Returns a vector whose X, Y, and Z components are the same as the specified vector, and whose W component is a new value. The vector to copy. The new W component value. A new instance of whose , , and components are the same as that of , and whose component is . Represents a disposable that removes an observer from a collection of observers. Initializes a new instance of the struct. A collection of observers from which to remove the specified observer. The observer to remove from the collection. The additional action to run on dispose. Removes the observer from the collection of observers. Provides extension methods for . Wraps the event of the current in an object. The progress whose event to wrap. The type of progress update value. An object that wraps the event of the current . is . Wraps the event of the current in an object, and completes the observable when the progress reaches the specified value. The progress whose event to wrap. The value that indicates completion. The type of progress update value. An object that wraps the event of the current . is . Represents a concrete implementation of that tracks progress of a . Gets the observers. The observers. Subscribes the specified observer to the progress tracker. The observer. An object which can be disposed to unsubscribe from progress tracking. Extension methods for . Returns a value indicating whether or not the current member has been decorated with a specified attribute. The member attributes to check. The attribute type. if the current member has been decorated with a specified attribute, or otherwise. is . Returns a value indicating whether or not the current member has been decorated with a specified attribute. The member attributes to check. The attribute type. if the current member has been decorated with a specified attribute, or otherwise. is . Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form. The attribute type. The return type of the delegate. The member. A transform function to apply to the attribute. An instance of as provided from . is -or- is . Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form. The attribute type. The return type of the delegate. The member. A transform function to apply to the attribute. The default value to return when the specified attribute is not found. An instance of as provided from . is -or- is . Extension methods for . Returns a value indicating whether the current type implements a specified interface. The type whose interface list to check. The interface type. if the current exists on the type; otherwise, . is . Returns a value indicating whether the current type implements a specified interface. The type whose interface list to check. The interface type. if the current exists on the type; otherwise, . is . -or- is . Returns a value indicating whether the current type inherits a specified type. The type whose interface list to check. The base type. if the current type inherits , or otherwise. is . is not a class. Returns a value indicating whether the current type inherits a specified type. The type whose interface list to check. The base type. if the current type inherits , or otherwise. is . -or- is . is not a class. -or- is not a class. Text-related extension methods for . Returns a value indicating whether this character constitutes an emoji. The character to check. if this character is an emoji; otherwise, . Returns a string composed of the current character repeated a specified number of times. The character to repeat. The number of times to repeat. A composed of repeated times. Extension methods for and of . Counts the occurrences of a substring within the current character span. The haystack search space. The character span to count. An integer representing the count of inside . Counts the occurrences of a substring within the current character span, using a specified string comparison method. The haystack search space. The character span to count. The string comparison method used for determining substring count. An integer representing the count of inside . Counts the occurrences of a substring within the current character span. The haystack search space. The character span to count. An integer representing the count of inside . Counts the occurrences of a substring within the current character span, using a specified string comparison method. The haystack search space. The character span to count. The string comparison method used for determining substring count. An integer representing the count of inside . Text-related extension methods for . Filters a sequence of strings by regular expression. The sequence of strings to filter. The regular expression pattern to use for matching. The filtered sequence. or is . Filters a sequence of strings by regular expression, optionally allowing to ignore casing. The sequence of strings to filter. The regular expression pattern to use for matching. to ignore casing when matching; otherwise, . The filtered sequence. or is . Represents a reads from a . Initializes a new instance of the class. The to wrap. is . Asynchronously reads the characters from the current stream into a memory block. When this method returns, contains the specified memory block of characters replaced by the characters read from the current source. Ignored. A value task that represents the asynchronous read operation. The value of the type parameter contains the number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the buffer length, depending on whether the data is available within the stream. Asynchronously reads the characters from the current stream and writes the data to a buffer. When this method returns, contains the specified memory block of characters replaced by the characters read from the current source. Ignored. A value task that represents the asynchronous read operation. The value of the type parameter contains the total number of characters read into the buffer. The result value can be less than the number of characters requested if the number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. Text-related extension methods for . Normalizes a string which may be either or empty to . The value to normalize. if is or empty; otherwise, . Normalizes a string which may be either , empty, or consisting of only whitespace, to . The value to normalize. if is , empty, or consists of only whitespace; otherwise, . Converts the specified string, which encodes binary data as base-64 digits, to an equivalent plain text string. The base-64 string to convert. The plain text string representation of . is . Converts the current string to its equivalent string representation that is encoded with base-64 digits. The plain text string to convert. The string representation, in base 64, of . is . Converts this string from one encoding to another. The input string. The input encoding. The output encoding. Returns a new with its data converted to . is - or - is -or is . Counts the occurrences of a character within the current character span. The haystack search space. The character to count. An integer representing the count of inside . Counts the occurrences of a character within the current character span. The haystack search space. The character to count. An integer representing the count of inside . Counts the occurrences of a character within the current string. The haystack search space. The character to count. An integer representing the count of inside . Counts the occurrences of a substring within the current string. The haystack search space. The substring to count. An integer representing the count of inside . Counts the occurrences of a substring within the current string, using a specified string comparison method. The haystack search space. The substring to count. The string comparison method used for determining substring count. An integer representing the count of inside . Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. One of the enumeration values that determines how the substring is compared. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. One of the enumeration values that determines how the substring is compared. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. One of the enumeration values that determines how the substring is compared. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. The combined string. Ensures that the current string starts with a specified substring. The string to check. The substring to prepend, if the current string does not already start with it. One of the enumeration values that determines how the substring is compared. The combined string. Parses a into an . The type of the . The value to parse. The value corresponding to the . Credit for this method goes to Scott Dorman: (http://geekswithblogs.net/sdorman/Default.aspx). Parses a into an . The type of the . The value to parse. Whether or not to ignore casing. The value corresponding to the . Credit for this method goes to Scott Dorman: (http://geekswithblogs.net/sdorman/Default.aspx). Gets a [] representing the value the with encoding. The string to convert. Returns a []. Gets a [] representing the value the with the provided encoding. The string to convert. The encoding to use. Returns a []. or or both are . Returns a value indicating whether this string constitutes an emoji. The input string. if this string is an emoji; otherwise, . Returns a value indicating whether the current string represents an empty string. The value to check. if is empty; otherwise, . is . Determines if all alpha characters in this string are considered lowercase. The input string. if all alpha characters in this string are lowercase; otherwise, . is . Returns a value indicating whether the current string is ( in Visual Basic), or represents an empty string. The value to check. if is or empty; otherwise, . Returns a value indicating whether the current string is ( in Visual Basic), represents an empty string, or consists of only whitespace characters. The value to check. if is , empty, or consists of only whitespace; otherwise, . Determines whether the current string is considered palindromic; that is, the letters within the string are the same when reversed. The value to check. if is considered a palindromic string; otherwise, . is . Determines if all alpha characters in this string are considered uppercase. The input string. if all alpha characters in this string are uppercase; otherwise, . Returns a value indicating whether the current string represents an empty string, or consists of only whitespace characters. The value to check. if is empty or consists of only whitespace; otherwise, . is . Repeats a string a specified number of times. The string to repeat. The repeat count. A string containing repeated times. is . Returns a new string of a specified length by randomly selecting characters from the current string. The pool of characters to use. The length of the new string returned. The supplier. A new string whose length is equal to which contains randomly selected characters from . is . is less than 0. Reverses the current string. The string to reverse. A whose characters are that of in reverse order. Shuffles the characters in the string. The string to shuffle. The instance to use for the shuffling. If is specified, a shared instance is used. A new containing the characters in , rearranged. is . Splits the into chunks that are no greater than in length. The string to split. The maximum length of each string in the returned result. Returns an containing instances which are no greater than in length. is . Determines whether the beginning of this string instance matches any of the specified strings using the current culture for comparison. The value to compare. An array of string to compare. if starts with any of the ; otherwise, . , or at least one of its elements, is . Determines whether the beginning of this string instance matches any of the specified strings when compared using the specified comparison option. The value to compare. One of the enumeration values that determines how this string and value are compared. An array of string to compare. if starts with any of the ; otherwise, . , or at least one of its elements, is . Normalizes a string which may be either or empty to a specified alternative. The value to normalize. The alternative string. if is or empty; otherwise, . Normalizes a string which may be either , empty, or consisting of only whitespace, to a specified alternative. The value to normalize. The alternative string. if is , empty, or consists of only whitespace; otherwise, . Time-related extension methods for . Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for of . Parses this span of characters as a shorthand time span (e.g. 3w 2d 1h) and converts it to an instance of . The input span of characters. Floating point is not supported, but integers with the following units are supported: Suffix Meaning ms Milliseconds s Seconds m Minutes h Hours d Days w Weeks mo Months y Years A new instance of . Extension methods for . A representing the first occurence of . A representing the first day of the current month. Gets the ISO-8601 week number of the year for the current date. The date whose week number to return. The ISO-8601 week number of the year. Shawn Steele, Microsoft This implementation is directly inspired from a blog post . about this subject. Returns a value indicating whether the year represented by the current is a leap year. The date whose year to check. if the year represented by is a leap year; otherwise, . A representing the final occurence of . A representing the last day of the current month. A representing the next occurence of . Returns the number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z. The current date. The number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z. Returns the number of seconds that have elapsed since 1970-01-01T00:00:00.000Z. The current date. The number of seconds that have elapsed since 1970-01-01T00:00:00.000Z. Extension methods for . Returns the rounded-down integer number of years since a given date as of today. The date from which to calculate. The rounded-down integer number of years since as of today. Returns the rounded-down integer number of years since a given date as of another specified date. The date from which to calculate. The date to use as the calculation reference. The rounded-down integer number of years since as of the date specified by . Gets a date representing the first occurence of a specified day of the week in the current month. The current date. The day of the week. A representing the first occurence of . Gets a date representing the first day of the current month. The current date. A representing the first day of the current month. Gets the ISO-8601 week number of the year for the current date. The date whose week number to return. The ISO-8601 week number of the year. Shawn Steele, Microsoft This implementation is directly inspired from a blog post . about this subject. Returns a value indicating whether the year represented by the current is a leap year. The date whose year to check. if the year represented by is a leap year; otherwise, . Gets a date representing the final occurence of a specified day of the week in the current month. The current date. The day of the week. A representing the final occurence of . Gets a date representing the last day of the current month. The current date. A representing the last day of the current month. Gets a date representing the next occurence of a specified day of the week in the current month. The current date. The day of the week. A representing the next occurence of . Time-related extension methods for . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Parses a shorthand time span string (e.g. 3w 2d 1h) and converts it to an instance of . The input string. Floating point is not supported, but integers with the following units are supported: Suffix Meaning ms Milliseconds s Seconds m Minutes h Hours d Days w Weeks mo Months y Years A new instance of . is . Extension methods for . Returns a that is a specified duration in the past relative to the current time. The whose duration to subtract. A that is a duration of in the past relative to the current time. Returns a that is a specified duration in the future relative to the current time. The whose duration to add. A that is a duration of in the future relative to the current time. Represents a class which contains a parser which converts into . Attempts to parses a shorthand time span (e.g. 3w 2d 1h) as a span of characters, converting it to an instance of which represents that duration of time. The input span of characters. Floating point is not supported, but range the following units are supported: Suffix Meaning ms Milliseconds s Seconds m Minutes h Hours d Days w Weeks mo Months y Years When this method returns, contains the parsed result. if the parse was successful, otherwise. Attempts to parses a shorthand time span string (e.g. 3w 2d 1h), converting it to an instance of which represents that duration of time. The input string. Floating point is not supported, but range the following units are supported: Suffix Meaning ms Milliseconds s Seconds m Minutes h Hours d Days w Weeks mo Months y Years When this method returns, contains the parsed result. if the parse was successful, otherwise. Time-related extension methods for . Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7. Time-related extension methods for . Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800,000. -or- is greater than 253,402,300,799,999. Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value. A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative. A date and time value that represents the same moment in time as the Unix time. is less than -62,135,596,800. -or- is greater than 253,402,300,799. Returns a value indicating whether the current integer, representing a year, is a leap year. The value whose leap year status to check. if refers to a leap year; otherwise, . is 0. Returns a that represents this value as the number of ticks. The duration, in ticks. A whose will equal . Returns a that represents this value as the number of milliseconds. The duration, in milliseconds. A whose will equal . Returns a that represents this value as the number of seconds. The duration, in seconds. A whose will equal . Returns a that represents this value as the number of minutes. The duration, in minutes. A whose will equal . Returns a that represents this value as the number of hours. The duration, in hours. A whose will equal . Returns a that represents this value as the number of days. The duration, in days. A whose will equal . Returns a that represents this value as the number of weeks. The duration, in weeks. A whose will equal × 7.