Scripting / Reference
System
The parts of System that world scripts may use. Anything not listed here is not available in VoltCS.
Array#
System.Array import
Array methods#
static void Clear(Array array, int index, int length)
static void Copy(Array sourceArray, Array destinationArray, int length)
static void Copy(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length)
static void Fill(T[] array, T value)
static int IndexOf(T[] array, T value)
static void Reverse(Array array)
static void Reverse(T[] array)
static void Sort(T[] array)
bool#
System.Boolean import
bool methods#
bool Equals(bool obj)
static bool Parse(string value)
static bool TryParse(string value, bool result)
char#
System.Char import
char methods#
int CompareTo(char value)
bool Equals(char obj)
static bool IsDigit(char c)
static bool IsLetter(char c)
static bool IsLetterOrDigit(char c)
static bool IsLower(char c)
static bool IsPunctuation(char c)
static bool IsUpper(char c)
static bool IsWhiteSpace(char c)
static char ToLower(char c)
static char ToUpper(char c)
double#
System.Double import
double methods#
int CompareTo(double value)
bool Equals(double obj)
static bool IsInfinity(double d)
static bool IsNaN(double d)
static double Parse(string s)
string ToString(string format)
static bool TryParse(string s, double result)
int#
System.Int32 import
int methods#
int CompareTo(int value)
bool Equals(int obj)
static int Parse(string s)
string ToString(string format)
static bool TryParse(string s, int result)
long#
System.Int64 import
long methods#
int CompareTo(long value)
bool Equals(long obj)
static long Parse(string s)
string ToString(string format)
static bool TryParse(string s, long result)
Math#
System.Math import
Math methods#
static double Abs(double value)
static short Abs(short value)
static int Abs(int value)
static long Abs(long value)
static SByte Abs(SByte value)
static float Abs(float value)
static double Acos(double d)
static double Acosh(double d)
static double Asin(double d)
static double Asinh(double d)
static double Atan(double d)
static double Atan2(double y, double x)
static double Atanh(double d)
static long BigMul(int a, int b)
static double Cbrt(double d)
static double Ceiling(double a)
static byte Clamp(byte value, byte min, byte max)
static double Clamp(double value, double min, double max)
static short Clamp(short value, short min, short max)
static int Clamp(int value, int min, int max)
static long Clamp(long value, long min, long max)
static SByte Clamp(SByte value, SByte min, SByte max)
static float Clamp(float value, float min, float max)
static UInt16 Clamp(UInt16 value, UInt16 min, UInt16 max)
static uint Clamp(uint value, uint min, uint max)
static UInt64 Clamp(UInt64 value, UInt64 min, UInt64 max)
static double Cos(double d)
static double Cosh(double value)
static int DivRem(int a, int b, int result)
static long DivRem(long a, long b, long result)
static double Exp(double d)
static double Floor(double d)
static double IEEERemainder(double x, double y)
static double Log(double d)
static double Log(double a, double newBase)
static double Log10(double d)
static byte Max(byte val1, byte val2)
static double Max(double val1, double val2)
static short Max(short val1, short val2)
static int Max(int val1, int val2)
static long Max(long val1, long val2)
static SByte Max(SByte val1, SByte val2)
static float Max(float val1, float val2)
static UInt16 Max(UInt16 val1, UInt16 val2)
static uint Max(uint val1, uint val2)
static UInt64 Max(UInt64 val1, UInt64 val2)
static byte Min(byte val1, byte val2)
static double Min(double val1, double val2)
static short Min(short val1, short val2)
static int Min(int val1, int val2)
static long Min(long val1, long val2)
static SByte Min(SByte val1, SByte val2)
static float Min(float val1, float val2)
static UInt16 Min(UInt16 val1, UInt16 val2)
static uint Min(uint val1, uint val2)
static UInt64 Min(UInt64 val1, UInt64 val2)
static double Pow(double x, double y)
static double Round(double a)
static double Round(double value, int digits)
static double Round(double value, int digits, MidpointRounding mode)
static double Round(double value, MidpointRounding mode)
static int Sign(double value)
static int Sign(short value)
static int Sign(int value)
static int Sign(long value)
static int Sign(SByte value)
static int Sign(float value)
static double Sin(double a)
static double Sinh(double value)
static double Sqrt(double d)
static double Tan(double a)
static double Tanh(double value)
static double Truncate(double d)
MathF#
System.MathF import
MathF methods#
static float Abs(float x)
static float Acos(float x)
static float Acosh(float x)
static float Asin(float x)
static float Asinh(float x)
static float Atan(float x)
static float Atan2(float y, float x)
static float Atanh(float x)
static float Cbrt(float x)
static float Ceiling(float x)
static float Cos(float x)
static float Cosh(float x)
static float Exp(float x)
static float Floor(float x)
static float IEEERemainder(float x, float y)
static float Log(float x)
static float Log(float x, float y)
static float Log10(float x)
static float Max(float x, float y)
static float Min(float x, float y)
static float Pow(float x, float y)
static float Round(float x)
static float Round(float x, int digits)
static float Round(float x, int digits, MidpointRounding mode)
static float Round(float x, MidpointRounding mode)
static int Sign(float x)
static float Sin(float x)
static float Sinh(float x)
static float Sqrt(float x)
static float Tan(float x)
static float Tanh(float x)
static float Truncate(float x)
float#
System.Single import
float methods#
int CompareTo(float value)
bool Equals(float obj)
static bool IsInfinity(float f)
static bool IsNaN(float f)
static float Parse(string s)
string ToString(string format)
static bool TryParse(string s, float result)
string#
System.String import
string constructors#
new string(char c, int count)
new string(char[] value)
string properties#
char this[] { get; }
int Length { get; }
string methods#
static int Compare(string strA, string strB)
static int Compare(string strA, string strB, StringComparison comparisonType)
static int CompareOrdinal(string strA, string strB)
int CompareTo(string strB)
static string Concat(string str0, string str1)
static string Concat(string str0, string str1, string str2)
bool Contains(char value)
bool Contains(string value)
bool Contains(string value, StringComparison comparisonType)
bool EndsWith(char value)
bool EndsWith(string value)
bool EndsWith(string value, StringComparison comparisonType)
bool Equals(string value)
static bool Equals(string a, string b)
static bool Equals(string a, string b, StringComparison comparisonType)
bool Equals(string value, StringComparison comparisonType)
static string Format(string format, object arg0)
static string Format(string format, object arg0, object arg1)
static string Format(string format, object arg0, object arg1, object arg2)
static string Format(string format, object[] args)
int IndexOf(char value)
int IndexOf(char value, int startIndex)
int IndexOf(string value)
int IndexOf(string value, int startIndex)
int IndexOf(string value, StringComparison comparisonType)
string Insert(int startIndex, string value)
static bool IsNullOrEmpty(string value)
static bool IsNullOrWhiteSpace(string value)
static string Join(char separator, object[] values)
static string Join(char separator, string[] value)
static string Join(string separator, object[] values)
static string Join(string separator, string[] value)
int LastIndexOf(char value)
int LastIndexOf(string value)
string PadLeft(int totalWidth)
string PadLeft(int totalWidth, char paddingChar)
string PadRight(int totalWidth)
string PadRight(int totalWidth, char paddingChar)
string Remove(int startIndex)
string Remove(int startIndex, int count)
string Replace(char oldChar, char newChar)
string Replace(string oldValue, string newValue)
string[] Split(char separator, StringSplitOptions options)
string[] Split(char[] separator)
string[] Split(char[] separator, StringSplitOptions options)
string[] Split(string separator, StringSplitOptions options)
bool StartsWith(char value)
bool StartsWith(string value)
bool StartsWith(string value, StringComparison comparisonType)
string Substring(int startIndex)
string Substring(int startIndex, int length)
char[] ToCharArray()
string ToLower()
string ToLowerInvariant()
string ToUpper()
string ToUpperInvariant()
string Trim()
string Trim(char trimChar)
string Trim(char[] trimChars)
string TrimEnd()
string TrimEnd(char trimChar)
string TrimEnd(char[] trimChars)
string TrimStart()
string TrimStart(char trimChar)
string TrimStart(char[] trimChars)
Updated November 26, 2026Something wrong or missing? Tell support
