Class Util
Summary description for Util.
public static class Util
- Inheritance
-
Util
- Inherited Members
Methods
AddRange<T>(IList<T>, IEnumerable<T>)
public static void AddRange<T>(this IList<T> list, IEnumerable<T> items)
Parameters
list
IList<T>items
IEnumerable<T>
Type Parameters
T
CompareToIgnoreCase(string, string)
public static int CompareToIgnoreCase(string s1, string s2)
Parameters
Returns
CopyOf(byte[], int)
public static byte[] CopyOf(this byte[] src, int newLength)
Parameters
Returns
- byte[]
CopyOfRange(byte[], int, int)
public static byte[] CopyOfRange(this byte[] src, int start, int end)
Parameters
Returns
- byte[]
EqualsIgnoreCase(string, string)
public static bool EqualsIgnoreCase(string s1, string s2)
Parameters
Returns
GetIsoBytes(string)
Converts a string into a Byte array according to the ISO-8859-1 codepage.
public static byte[] GetIsoBytes(this string text)
Parameters
text
stringthe text to be converted
Returns
- byte[]
the conversion result
Usr(int, int)
public static int Usr(int op1, int op2)