﻿<?xml version="1.0" encoding="utf-8"?><Type Name="SByte" FullName="System.SByte" FullNameSP="System_SByte" Maintainer="ecma"><TypeSignature Language="ILASM" Value=".class public sequential sealed serializable SByte extends System.ValueType implements System.IComparable, System.IFormattable" /><TypeSignature Language="C#" Value="public struct SByte : IComparable, IComparable&lt;sbyte&gt;, IConvertible, IEquatable&lt;sbyte&gt;, IFormattable" /><TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit int8 extends System.ValueType implements class System.IComparable, class System.IComparable`1&lt;int8&gt;, class System.IConvertible, class System.IEquatable`1&lt;int8&gt;, class System.IFormattable" /><MemberOfLibrary>BCL</MemberOfLibrary><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadingSafetyStatement>This type is safe for multithreaded operations. </ThreadingSafetyStatement><Base><BaseTypeName>System.ValueType</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.IComparable</InterfaceName></Interface><Interface><InterfaceName>System.IComparable&lt;System.SByte&gt;</InterfaceName></Interface><Interface><InterfaceName>System.IConvertible</InterfaceName></Interface><Interface><InterfaceName>System.IEquatable&lt;System.SByte&gt;</InterfaceName></Interface><Interface><InterfaceName>System.IFormattable</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.SByte" /> value type represents integers with values ranging from negative 128 to positive 127.</para><block subset="none" type="note"><para>   The <see cref="T:System.SByte" /> type is not CLS-compliant. The CLS-compliant alternative type is <see cref="T:System.Int16" />. <see cref="T:System.Byte" /> can be used instead to replace a positive <see cref="T:System.SByte" /> value that ranges from zero to <see cref="F:System.Byte.MaxValue" />. For more information about CLS compliance, see <format type="text/html"><a href="4f0b77d0-4844-464f-af73-6e06bedeafc6">Common Language Specification</a></format>. </para></block><para><see cref="T:System.SByte" /> provides methods to compare instances of this type, convert the value of an instance to its string representation, and convert the string representation of a number to an instance of this type.</para><para>For information about how format specification codes control the string representation of value types, see <format type="text/html"><a href="0D1364DA-5B30-4D42-8E6B-03378343343F">Formatting Types</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents an 8-bit signed integer.</para></summary></Docs><Members><Member MemberName="CompareTo"><MemberSignature Language="ILASM" Value=".method public final hidebysig virtual int32 CompareTo(object obj)" /><MemberSignature Language="C#" Value="public int CompareTo (object obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CompareTo(object obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.Object" /></Parameters><Docs><exception cref="T:System.ArgumentException"><paramref name="obj" /> is not a <see cref="T:System.SByte" /> and is not a null reference.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Any instance of <see cref="T:System.SByte" />, regardless of its value, is considered greater than null.</para><para>The <paramref name="obj" /> parameter must be null or an instance of <see cref="T:System.SByte" />; otherwise, an exception is thrown.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Compares this instance to a specified object and returns an indication of their relative values.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A signed number indicating the relative values of this instance and <paramref name="obj" />.</para><list type="table"><listheader><item><term><para>Return Value </para></term><description><para>Description </para></description></item></listheader><item><term><para>Less than zero </para></term><description><para>This instance is less than <paramref name="obj" />. </para></description></item><item><term><para>Zero </para></term><description><para>This instance is equal to <paramref name="obj" />. </para></description></item><item><term><para>Greater than zero </para></term><description><para>This instance is greater than <paramref name="obj" />.</para><para>-or- </para><para><paramref name="obj" /> is null. </para></description></item></list></returns><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />An object to compare, or null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="CompareTo"><MemberSignature Language="C#" Value="public int CompareTo (sbyte value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CompareTo(int8 value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.SByte" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method implements the <see cref="T:System.IComparable`1" /> interface and performs slightly better than the <see cref="M:System.SByte.CompareTo(System.Object)" /> method because it does not have to convert the <paramref name="value" /> parameter to an object.</para><para>Depending on your programming language, it might be possible to code a <see cref="Overload:System.SByte.CompareTo" /> method where the parameter type has fewer bits (is narrower) than the instance type. This is possible because some programming languages perform an implicit widening conversion that represents the parameter as a type with as many bits as the instance.</para><para>For example, suppose the instance type is <see cref="T:System.Int32" /> and the parameter type is <see cref="T:System.Byte" />. The Microsoft C# compiler generates instructions to represent the value of the parameter as an <see cref="T:System.Int32" /> object, then generates a <see cref="M:System.Int32.CompareTo(System.Object)" /> method that compares the values of the <see cref="T:System.Int32" /> instance and the <see cref="T:System.Int32" /> parameter representation.</para><para>Consult your programming language's documentation to determine if its compiler performs implicit widening conversions on numeric types.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Compares this instance to a specified 8-bit signed integer and returns an indication of their relative values.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A signed integer that indicates the relative order of this instance and <paramref name="value" />.</para><list type="table"><listheader><item><term><para>Return Value </para></term><description><para>Description </para></description></item></listheader><item><term><para>Less than zero </para></term><description><para>This instance is less than <paramref name="value" />. </para></description></item><item><term><para>Zero </para></term><description><para>This instance is equal to <paramref name="value" />. </para></description></item><item><term><para>Greater than zero </para></term><description><para>This instance is greater than <paramref name="value" />. </para></description></item></list></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />An 8-bit signed integer to compare. </param></Docs></Member><Member MemberName="Equals"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual bool Equals(object obj)" /><MemberSignature Language="C#" Value="public override bool Equals (object obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.Object" /></Parameters><Docs><remarks><para><block subset="none" type="note">This method
      overrides <see cref="M:System.Object.Equals(System.Object)" />.</block></para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a value indicating whether this instance is equal to a specified object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="obj" /> is an instance of <see cref="T:System.SByte" /> and equals the value of this instance; otherwise, false.</para></returns><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />An object to compare with this instance. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Equals"><MemberSignature Language="C#" Value="public bool Equals (sbyte obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(int8 obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.SByte" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method implements the <see cref="T:System.IEquatable`1" /> interface, and performs slightly better than <see cref="M:System.SByte.Equals(System.Object)" /> because it does not have to convert the <paramref name="obj" /> parameter to an object.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a value indicating whether this instance is equal to a specified <see cref="T:System.SByte" /> value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="obj" /> has the same value as this instance; otherwise, false.</para></returns><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.SByte" /> value to compare to this instance.</param></Docs></Member><Member MemberName="GetHashCode"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 GetHashCode()" /><MemberSignature Language="C#" Value="public override int GetHashCode ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><remarks><para>The algorithm used to generate the hash code is
      unspecified. </para><para><block subset="none" type="note">This method overrides <see cref="M:System.Object.GetHashCode" />.</block></para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the hash code for this instance.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A 32-bit signed integer hash code.</para></returns></Docs><Excluded>0</Excluded></Member><Member MemberName="GetTypeCode"><MemberSignature Language="C#" Value="public TypeCode GetTypeCode ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.TypeCode GetTypeCode() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.TypeCode</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the <see cref="T:System.TypeCode" /> for value type <see cref="T:System.SByte" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The enumerated constant, <see cref="F:System.TypeCode.SByte" />.</para></returns></Docs></Member><Member MemberName="MaxValue"><MemberSignature Language="ILASM" Value=".field public static literal int8 MaxValue = 127" /><MemberSignature Language="C#" Value="public const sbyte MaxValue = 127;" /><MemberSignature Language="ILAsm" Value=".field public static literal int8 MaxValue = int8(127)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters /><MemberValue>127</MemberValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of this constant is 127; that is, hexadecimal 0x7F.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the largest possible value of <see cref="T:System.SByte" />. This field is constant.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="MinValue"><MemberSignature Language="ILASM" Value=".field public static literal int8 MinValue = -128" /><MemberSignature Language="C#" Value="public const sbyte MinValue = -128;" /><MemberSignature Language="ILAsm" Value=".field public static literal int8 MinValue = int8(-128)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters /><MemberValue>-128</MemberValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of this constant is -128; that is, hexadecimal 0x80.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the smallest possible value of <see cref="T:System.SByte" />. This field is constant.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Parse"><MemberSignature Language="ILASM" Value=".method public hidebysig static int8 Parse(string s)" /><MemberSignature Language="C#" Value="public static sbyte Parse (string s);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig int8 Parse(string s) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters><Parameter Name="s" Type="System.String" /></Parameters><Docs><exception cref="T:System.ArgumentException"><paramref name="s" /> is a null reference.</exception><exception cref="T:System.FormatException"><paramref name="s" /> is not in the correct style.</exception><exception cref="T:System.OverflowException"><paramref name="s" /> represents a number greater than <see cref="F:System.SByte.MaxValue" /> or less than <see cref="F:System.SByte.MinValue" />.</exception><example><para>This example demonstrates the <see cref="M:System.SByte.Parse(System.String)" />(<see cref="T:System.String" />) method.</para><code lang="C#">using System;
public class SByteParseClass {
  public static void Main() {
    string str = "  100   ";
    Console.WriteLine("String: \"{0}\" &lt;SByte&gt; {1}",
                      str,SByte.Parse(str));
  }
}
</code><para>The output is</para><para><c>String: " 100
   " &lt;SByte&gt; 100</c></para></example><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="s" /> parameter contains a number of the form: </para><para>[ws][sign]digits[ws] </para><para>Elements in square brackets ([ and ]) are optional. The following table describes each element.</para><list type="table"><listheader><item><term><para>Element</para></term><description><para>Description</para></description></item></listheader><item><term><para>ws</para></term><description><para>Optional white space. </para></description></item><item><term><para>sign</para></term><description><para>An optional sign. </para></description></item><item><term><para>digits</para></term><description><para>A sequence of digits ranging from 0 to 9. </para></description></item></list><para>The <paramref name="s" /> parameter is interpreted using the <see cref="F:System.Globalization.NumberStyles.Integer" /> style. In addition to the byte value's decimal digits, only leading and trailing spaces with a leading positive or negative sign are allowed. To explicitly define the style elements that can be present in <paramref name="s" />, use either the <see cref="M:System.SByte.Parse(System.String,System.Globalization.NumberStyles)" /> or the <see cref="M:System.SByte.Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider)" /> method.</para><para>The <paramref name="s" /> parameter is parsed by using the formatting information in a <see cref="T:System.Globalization.NumberFormatInfo" /> that is initialized for the current system culture. For more information, see <see cref="P:System.Globalization.NumberFormatInfo.CurrentInfo" />. To parse a string by using the formatting information of some other culture, use the <see cref="M:System.SByte.Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the string representation of a number to its 8-bit signed integer equivalent.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An 8-bit signed integer that is equivalent to the number contained in the <paramref name="s" /> parameter.</para></returns><param name="s"><attribution license="cc4" from="Microsoft" modified="false" />A string that represents a number to convert. The string is interpreted using the <see cref="F:System.Globalization.NumberStyles.Integer" /> style.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Parse"><MemberSignature Language="ILASM" Value=".method public hidebysig static int8 Parse(string s, valuetype System.Globalization.NumberStyles style)" /><MemberSignature Language="C#" Value="public static sbyte Parse (string s, System.Globalization.NumberStyles style);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig int8 Parse(string s, valuetype System.Globalization.NumberStyles style) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters><Parameter Name="s" Type="System.String" /><Parameter Name="style" Type="System.Globalization.NumberStyles" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="s" /> is a null reference.</exception><exception cref="T:System.FormatException"><paramref name="s" /> is not in the correct style.</exception><exception cref="T:System.OverflowException"><paramref name="s" /> represents a number greater than <see cref="F:System.SByte.MaxValue" /> or less than <see cref="F:System.SByte.MinValue" />.</exception><param name="s"><attribution license="cc4" from="Microsoft" modified="false" />A string that contains a number to convert. The string is interpreted using the style specified by <paramref name="style" />.</param><param name="style"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that indicates the style elements that can be present in <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.NumberStyles.Integer" />.</param><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="style" /> parameter defines the style elements (such as white space or the positive or negative sign symbol) that are allowed in the <paramref name="s" /> parameter for the parse operation to succeed. It must be a combination of bit flags from the <see cref="T:System.Globalization.NumberStyles" /> enumeration. </para><para>Depending on the value of <paramref name="style" />, the <paramref name="s" /> parameter may include the following elements: </para><para>[ws][$][sign]digits[.fractional_digits][E[sign]exponential_digits][ws] </para><para>If <paramref name="style" /> includes <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" />, the <paramref name="s" /> parameter may contain the following elements:</para><para>[ws]hexdigits[ws]</para><para>Elements in square brackets ([ and ]) are optional. The following table describes each element.</para><list type="table"><listheader><item><term><para>Element</para></term><description><para>Description</para></description></item></listheader><item><term><para>ws</para></term><description><para>Optional white space. White space can appear at the beginning of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowLeadingWhite" /> flag, and it can appear at the end of <paramref name="s" /> if style includes the <see cref="F:System.Globalization.NumberStyles.AllowTrailingWhite" /> flag.</para></description></item><item><term><para>$</para></term><description><para>A culture-specific currency symbol. Its position in the string is defined by the <see cref="P:System.Globalization.NumberFormatInfo.CurrencyPositivePattern" /> property of the current culture. The current culture's currency symbol can appear in <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowCurrencySymbol" /> flag.</para></description></item><item><term><para>sign</para></term><description><para>An optional sign. The sign can appear at the beginning of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowLeadingSign" /> flag, and it can appear at the end of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowTrailingSign" /> flag. Parentheses can be used in <paramref name="s" /> to indicate a negative value if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowParentheses" /> flag.</para></description></item><item><term><para>digits</para></term><description><para>A sequence of digits from 0 through 9. </para></description></item><item><term><para>.</para></term><description><para>A culture-specific decimal point symbol. The current culture's decimal point symbol can appear in <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowDecimalPoint" /> flag.</para></description></item><item><term><para>fractional_digits</para></term><description><para>One or more occurrences of the digit 0-9 if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag, or one or more occurrences of the digit 0 if it does not. Fractional digits can appear in <paramref name="s" /> only if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowDecimalPoint" /> flag.</para></description></item><item><term><para>E</para></term><description><para>The "e" or "E" character, which indicates that the value is represented in exponential (scientific) notation. The <paramref name="s" /> parameter can represent a number in exponential notation if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag.</para></description></item><item><term><para>exponential_digits</para></term><description><para>One or more occurrences of the digit 0-9. The <paramref name="s" /> parameter can represent a number in exponential notation if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag.</para></description></item><item><term><para>hexdigits</para></term><description><para>A sequence of hexadecimal digits from 0 through f, or 0 through F. </para></description></item></list><para>A string with decimal digits only (which corresponds to the <see cref="F:System.Globalization.NumberStyles.None" /> style) always parses successfully. Most of the remaining <see cref="T:System.Globalization.NumberStyles" /> members control elements that may be present, but are not required to be present, in the input string. The following table indicates how individual <see cref="T:System.Globalization.NumberStyles" /> members affect the elements that may be present in <paramref name="s" />.</para><list type="table"><listheader><item><term><para>Non-composite NumberStyles values</para></term><description><para>Elements permitted in s in addition to digits</para></description></item></listheader><item><term><para><see cref="F:System.Globalization.NumberStyles.None" /></para></term><description><para>Decimal digits only.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowDecimalPoint" /></para></term><description><para>The decimal point (.) and fractional_digits elements. However, if <paramref name="style" /> does not include the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag, fractional_digits must consist of only one or more 0 digits; otherwise, an <see cref="T:System.OverflowException" /> is thrown. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowExponent" /></para></term><description><para>The "e" or "E" character, which indicates exponential notation, along with exponential_digits. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowLeadingWhite" /></para></term><description><para>The ws element at the beginning of <paramref name="s" />.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowTrailingWhite" /></para></term><description><para>The ws element at the end of <paramref name="s" />.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowLeadingSign" /></para></term><description><para>A positive sign before digits.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowTrailingSign" /></para></term><description><para>A positive sign after digits.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowParentheses" /></para></term><description><para>The sign element in the form of parentheses enclosing the numeric value. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowThousands" /></para></term><description><para>The group separator (,) element. Although the group separator can appear in <paramref name="s" />, it must be preceded by only one or more 0 digits. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowCurrencySymbol" /></para></term><description><para>The currency ($) element.</para></description></item></list><para>If the <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" /> flag is used, <paramref name="s" /> must be a hexadecimal value. The only other flags that can be combined with it are <see cref="F:System.Globalization.NumberStyles.AllowLeadingWhite" /> and <see cref="F:System.Globalization.NumberStyles.AllowTrailingWhite" />. (The <see cref="T:System.Globalization.NumberStyles" /> enumeration includes a composite number style, <see cref="F:System.Globalization.NumberStyles.HexNumber" />, that includes both white-space flags.) </para><block subset="none" type="note"><para>If the <paramref name="s" /> parameter is the string representation of a hexadecimal number, it cannot be preceded by any decoration (such as 0x or &amp;h) that differentiates it as a hexadecimal number. This causes the parse operation to throw an exception. </para></block><para>If <paramref name="s" /> represents a hexadecimal number, the <see cref="M:System.Byte.Parse(System.String,System.Globalization.NumberStyles)" /> method interprets the high-order bit of the byte as a sign bit. </para><para>The <paramref name="s" /> parameter is parsed by using the formatting information in a <see cref="T:System.Globalization.NumberFormatInfo" /> object that is initialized for the current system culture. To use the formatting information of some other culture, call the <see cref="M:System.SByte.Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider)" /> overload.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the string representation of a number in a specified style to its 8-bit signed integer equivalent.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An 8-bit signed integer that is equivalent to the number specified in <paramref name="s" />.</para></returns><param name="s"><attribution license="cc4" from="Microsoft" modified="false" />A string that contains a number to convert. The string is interpreted using the style specified by <paramref name="style" />.</param><param name="style"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that indicates the style elements that can be present in <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.NumberStyles.Integer" />.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Parse"><MemberSignature Language="ILASM" Value=".method public hidebysig static int8 Parse(string s, class System.IFormatProvider provider)" /><MemberSignature Language="C#" Value="public static sbyte Parse (string s, IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig int8 Parse(string s, class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters><Parameter Name="s" Type="System.String" /><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="s" /> is a null reference.</exception><exception cref="T:System.FormatException"><paramref name="s" /> is not in the correct style.</exception><exception cref="T:System.OverflowException"><paramref name="s" /> represents a number greater than <see cref="F:System.SByte.MaxValue" /> or less than <see cref="F:System.SByte.MinValue" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="s" /> parameter contains a number of the form: </para><para>[ws][sign]digits[ws] </para><para>Elements in square brackets ([ and ]) are optional. The following table describes each element.</para><list type="table"><listheader><item><term><para>Element</para></term><description><para>Description</para></description></item></listheader><item><term><para>ws</para></term><description><para>Optional white space. </para></description></item><item><term><para>sign</para></term><description><para>An optional sign. </para></description></item><item><term><para>digits</para></term><description><para>A sequence of digits ranging from 0 to 9. </para></description></item></list><para>The <paramref name="s" /> parameter is interpreted using the <see cref="F:System.Globalization.NumberStyles.Integer" /> style. In addition to the byte value's decimal digits, only leading and trailing spaces with a leading sign are allowed. To explicitly define the style elements with the culture-specific formatting information that can be present in <paramref name="s" />, use the <see cref="M:System.SByte.Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider)" /> method.</para><para>The <paramref name="provider" /> parameter is an <see cref="T:System.IFormatProvider" /> implementation whose <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method returns a <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides culture-specific information about the format of <paramref name="s" />. There are three ways to use the <paramref name="provider" /> parameter to supply custom formatting information to the parse operation: </para><list type="bullet"><item><para>You can pass the actual <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides formatting information. (Its implementation of <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> simply returns itself.)</para></item><item><para>You can pass a <see cref="T:System.Globalization.CultureInfo" /> object that specifies the culture whose formatting is to be used. Its <see cref="P:System.Globalization.CultureInfo.NumberFormat" /> property provides formatting information.  </para></item><item><para>You can pass a custom <see cref="T:System.IFormatProvider" /> implementation. Its <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method must instantiate and return the <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides formatting information.</para></item></list><para>If <paramref name="provider" /> is null, the <see cref="T:System.Globalization.NumberFormatInfo" /> object for the current culture is used.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the string representation of a number in a specified culture-specific format to its 8-bit signed integer equivalent.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An 8-bit signed integer that is equivalent to the number specified in <paramref name="s" />.</para></returns><param name="s"><attribution license="cc4" from="Microsoft" modified="false" />A string that represents a number to convert. The string is interpreted using the <see cref="F:System.Globalization.NumberStyles.Integer" /> style.</param><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />An object that supplies culture-specific formatting information about <paramref name="s" />. If <paramref name="provider" /> is null, the thread current culture is used.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Parse"><MemberSignature Language="ILASM" Value=".method public hidebysig static int8 Parse(string s, valuetype System.Globalization.NumberStyles style, class System.IFormatProvider provider)" /><MemberSignature Language="C#" Value="public static sbyte Parse (string s, System.Globalization.NumberStyles style, IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig int8 Parse(string s, valuetype System.Globalization.NumberStyles style, class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters><Parameter Name="s" Type="System.String" /><Parameter Name="style" Type="System.Globalization.NumberStyles" /><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="s" /> is a null reference.</exception><exception cref="T:System.FormatException"><paramref name="s" /> is not in the correct style.</exception><exception cref="T:System.OverflowException"><paramref name="s" /> represents a number greater than <see cref="F:System.SByte.MaxValue" /> or less than <see cref="F:System.SByte.MinValue" />.</exception><param name="s"><attribution license="cc4" from="Microsoft" modified="false" />A string that contains the number to convert. The string is interpreted by using the style specified by <paramref name="style" />.</param><param name="style"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that indicates the style elements that can be present in <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.NumberStyles.Integer" />.</param><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />An object that supplies culture-specific formatting information about <paramref name="s" />. If <paramref name="provider" /> is null, the thread current culture is used.</param><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="style" /> parameter defines the style elements (such as white space or the positive or negative sign symbol) that are allowed in the <paramref name="s" /> parameter for the parse operation to succeed. It must be a combination of bit flags from the <see cref="T:System.Globalization.NumberStyles" /> enumeration. </para><para>Depending on the value of <paramref name="style" />, the <paramref name="s" /> parameter may include the following elements: </para><para>[ws][$][sign]digits[.fractional_digits][E[sign]exponential_digits][ws] </para><para>If <paramref name="style" /> includes <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" />, the <paramref name="s" /> parameter may include the following elements:</para><para>[ws]hexdigits[ws]</para><para>Elements in square brackets ([ and ]) are optional. The following table describes each element.</para><list type="table"><listheader><item><term><para>Element</para></term><description><para>Description</para></description></item></listheader><item><term><para>ws</para></term><description><para>Optional white space. White space can appear at the beginning of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowLeadingWhite" /> flag, and it can appear at the end of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowTrailingWhite" /> flag.</para></description></item><item><term><para>$</para></term><description><para>A culture-specific currency symbol. Its position in the string is defined by the <see cref="P:System.Globalization.NumberFormatInfo.CurrencyPositivePattern" /> property of the current culture. The current culture's currency symbol can appear in <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowCurrencySymbol" /> flag.</para></description></item><item><term><para>sign</para></term><description><para>An optional sign. The sign can appear at the beginning of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowLeadingSign" /> flag, and it can appear the end of <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowTrailingSign" /> flag. Parentheses can be used in <paramref name="s" /> to indicate a negative value if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowParentheses" /> flag.</para></description></item><item><term><para>digits</para></term><description><para>A sequence of digits from 0 through 9. </para></description></item><item><term><para>.</para></term><description><para>A culture-specific decimal point symbol. The current culture's decimal point symbol can appear in <paramref name="s" /> if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowDecimalPoint" /> flag.</para></description></item><item><term><para>fractional_digits</para></term><description><para>One or more occurrences of the digit 0-9 if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag, or one or more occurrences of the digit 0 if it does not. Fractional digits can appear in <paramref name="s" /> only if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowDecimalPoint" /> flag.</para></description></item><item><term><para>E</para></term><description><para>The "e" or "E" character, which indicates that the value is represented in exponential (scientific) notation. The <paramref name="s" /> parameter can represent a number in exponential notation if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag.</para></description></item><item><term><para>exponential_digits</para></term><description><para>A sequence of digits from 0 through 9. The <paramref name="s" /> parameter can represent a number in exponential notation if <paramref name="style" /> includes the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag.</para></description></item><item><term><para>hexdigits</para></term><description><para>A sequence of hexadecimal digits from 0 through f, or 0 through F. </para></description></item></list><para>A string with decimal digits only (which corresponds to the <see cref="F:System.Globalization.NumberStyles.None" /> style) always parses successfully. Most of the remaining <see cref="T:System.Globalization.NumberStyles" /> members control elements that may be present, but are not required to be present, in this input string. The following table indicates how individual <see cref="T:System.Globalization.NumberStyles" /> members affect the elements that may be present in <paramref name="s" />.</para><list type="table"><listheader><item><term><para>Non-composite NumberStyles values</para></term><description><para>Elements permitted in <paramref name="s" /> in addition to digits</para></description></item></listheader><item><term><para><see cref="F:System.Globalization.NumberStyles.None" /></para></term><description><para>Decimal digits only.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowDecimalPoint" /></para></term><description><para>The decimal point (.) and fractional_digits elements. However, if style does not include the <see cref="F:System.Globalization.NumberStyles.AllowExponent" /> flag, fractional_digits must consist of only one or more 0 digits; otherwise, an <see cref="T:System.OverflowException" /> is thrown. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowExponent" /></para></term><description><para>The "e" or "E" character, which indicates exponential notation, along with exponential_digits. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowLeadingWhite" /></para></term><description><para>The ws element at the beginning of <paramref name="s" />.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowTrailingWhite" /></para></term><description><para>The ws element at the end of <paramref name="s" />.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowLeadingSign" /></para></term><description><para>A positive sign before digits.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowTrailingSign" /></para></term><description><para>A positive sign after digits.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowParentheses" /></para></term><description><para>Parentheses before and after digits to indicate a negative value.</para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowThousands" /></para></term><description><para>The group separator (,) element. Although the group separator can appear in <paramref name="s" />, it must be preceded by only one or more 0 digits. </para></description></item><item><term><para><see cref="F:System.Globalization.NumberStyles.AllowCurrencySymbol" /></para></term><description><para>The currency ($) element.</para></description></item></list><para>If the <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" /> flag is used, <paramref name="s" /> must be a hexadecimal value. The only other flags that can be combined with it are <see cref="F:System.Globalization.NumberStyles.AllowLeadingWhite" /> and <see cref="F:System.Globalization.NumberStyles.AllowTrailingWhite" />. (The <see cref="T:System.Globalization.NumberStyles" /> enumeration includes a composite number style, <see cref="F:System.Globalization.NumberStyles.HexNumber" />, that includes both white-space flags.) </para><block subset="none" type="note"><para>If the <paramref name="s" /> parameter is the string representation of a hexadecimal number, it cannot be preceded by any decoration (such as 0x or &amp;h) that differentiates it as a hexadecimal number. This causes the parse operation to throw an exception.</para></block><para>If <paramref name="s" /> represents a hexadecimal number, the <see cref="M:System.Byte.Parse(System.String,System.Globalization.NumberStyles)" /> method interprets the high-order bit of the byte as a sign bit. </para><para>The <paramref name="provider" /> parameter is an <see cref="T:System.IFormatProvider" /> implementation whose <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method returns a <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides culture-specific information about the format of <paramref name="s" />. There are three ways to use the <paramref name="provider" /> parameter to supply custom formatting information to the parse operation: </para><list type="bullet"><item><para>You can pass the actual <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides formatting information. (Its implementation of <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> simply returns itself.)</para></item><item><para>You can pass a <see cref="T:System.Globalization.CultureInfo" /> object that specifies the culture whose formatting is to be used. Its <see cref="P:System.Globalization.CultureInfo.NumberFormat" /> property provides formatting information.  </para></item><item><para>You can pass a custom <see cref="T:System.IFormatProvider" /> implementation. Its <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method must instantiate and return the <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides formatting information.</para></item></list><para>If <paramref name="provider" /> is null, the <see cref="T:System.Globalization.NumberFormatInfo" /> object for the current culture is used.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the string representation of a number that is in a specified style and culture-specific format to its 8-bit signed equivalent.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An 8-bit signed byte value that is equivalent to the number specified in the <paramref name="s" /> parameter.</para></returns><param name="s"><attribution license="cc4" from="Microsoft" modified="false" />A string that contains the number to convert. The string is interpreted by using the style specified by <paramref name="style" />.</param><param name="style"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that indicates the style elements that can be present in <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.NumberStyles.Integer" />.</param><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />An object that supplies culture-specific formatting information about <paramref name="s" />. If <paramref name="provider" /> is null, the thread current culture is used.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="System.IConvertible.ToBoolean"><MemberSignature Language="C#" Value="bool IConvertible.ToBoolean (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.IConvertible.ToBoolean(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToBoolean(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToBoolean(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the value of the current instance is not zero; otherwise, false.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is unused.</param></Docs></Member><Member MemberName="System.IConvertible.ToByte"><MemberSignature Language="C#" Value="byte IConvertible.ToByte (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int8 System.IConvertible.ToByte(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Byte</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToByte(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToByte(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.Byte" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is unused.</param></Docs></Member><Member MemberName="System.IConvertible.ToChar"><MemberSignature Language="C#" Value="char IConvertible.ToChar (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance char System.IConvertible.ToChar(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Char</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToChar(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToChar(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.Char" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToDateTime"><MemberSignature Language="C#" Value="DateTime IConvertible.ToDateTime (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance valuetype System.DateTime System.IConvertible.ToDateTime(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>This conversion is not supported. Attempting to do so throws an <see cref="T:System.InvalidCastException" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>None. This conversion is not supported. </para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToDecimal"><MemberSignature Language="C#" Value="decimal IConvertible.ToDecimal (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance valuetype System.Decimal System.IConvertible.ToDecimal(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Decimal</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToDecimal(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToDecimal(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.Decimal" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is unused.</param></Docs></Member><Member MemberName="System.IConvertible.ToDouble"><MemberSignature Language="C#" Value="double IConvertible.ToDouble (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance float64 System.IConvertible.ToDouble(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Double</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToDouble(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToDouble(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.Double" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToInt16"><MemberSignature Language="C#" Value="short IConvertible.ToInt16 (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int16 System.IConvertible.ToInt16(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int16</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToInt16(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToInt16(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to an <see cref="T:System.Int16" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToInt32"><MemberSignature Language="C#" Value="int IConvertible.ToInt32 (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int32 System.IConvertible.ToInt32(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToInt32(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToInt32(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to an <see cref="T:System.Int32" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToInt64"><MemberSignature Language="C#" Value="long IConvertible.ToInt64 (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int64 System.IConvertible.ToInt64(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int64</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToInt64(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToInt64(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to an <see cref="T:System.Int64" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToSByte"><MemberSignature Language="C#" Value="sbyte IConvertible.ToSByte (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int8 System.IConvertible.ToSByte(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.SByte</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToSByte(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, unchanged.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToSingle"><MemberSignature Language="C#" Value="float IConvertible.ToSingle (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance float32 System.IConvertible.ToSingle(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Single</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToSingle(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToSingle(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.Single" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToType"><MemberSignature Language="C#" Value="object IConvertible.ToType (Type targetType, IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance object System.IConvertible.ToType(class System.Type targetType, class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="targetType" Type="System.Type" /><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><param name="targetType">To be added.</param><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the static (Shared in Visual Basic) <see cref="M:System.Convert.ChangeType(System.Object,System.Type,System.IFormatProvider)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToType(System.Type,System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to an object of type <paramref name="type" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.IFormatProvider" /> implementation that provides information about the format of the returned value.</param></Docs></Member><Member MemberName="System.IConvertible.ToUInt16"><MemberSignature Language="C#" Value="ushort IConvertible.ToUInt16 (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int16 System.IConvertible.ToUInt16(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.UInt16</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToUInt16(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToUInt16(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.UInt16" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToUInt32"><MemberSignature Language="C#" Value="uint IConvertible.ToUInt32 (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int32 System.IConvertible.ToUInt32(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.UInt32</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToUInt32(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToUInt32(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.UInt32" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="System.IConvertible.ToUInt64"><MemberSignature Language="C#" Value="ulong IConvertible.ToUInt64 (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int64 System.IConvertible.ToUInt64(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.UInt64</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.SByte" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToUInt64(System.SByte)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>For a description of this member, see <see cref="M:System.IConvertible.ToUInt64(System.IFormatProvider)" />. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of the current instance, converted to a <see cref="T:System.UInt64" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param></Docs></Member><Member MemberName="ToString"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual string ToString()" /><MemberSignature Language="C#" Value="public override string ToString ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.SByte.ToString" /> method formats an <see cref="T:System.SByte" /> value in the default ("G", or general) format of the current culture. If you want to specify a different format or culture, use the other overloads of the <see cref="M:System.SByte.ToString(System.String)" /> method, as follows: </para><list type="table"><listheader><item><term><para>To use format</para></term><description><para>For culture</para></description><description><para>Use the overload</para></description></item></listheader><item><term><para>Default ("G") format</para></term><description><para>A specific culture</para></description><description><para><see cref="M:System.SByte.ToString(System.IFormatProvider)" /></para></description></item><item><term><para>A specific format</para></term><description><para>Default (current) culture</para></description><description><para><see cref="M:System.SByte.ToString(System.String)" /></para></description></item><item><term><para>A specific format</para></term><description><para>A specific culture</para></description><description><para><see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /></para></description></item></list><para></para><para>The return value is formatted using the general numeric format specifier ("G") The string representation of the <see cref="T:System.SByte" /> value includes a negative sign if its value is negative, and a sequence of digits ranging from 0 to 9 without leading zeros. The negative sign is defined by the <see cref="T:System.Globalization.NumberFormatInfo" /> object for the current culture. </para><para>To define the formatting of the signed byte value's string representation, call the <see cref="M:System.SByte.ToString(System.String)" /> method. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the numeric value of this instance to its equivalent string representation.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The string representation of the value of this instance, consisting of a negative sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.</para></returns></Docs><Excluded>0</Excluded></Member><Member MemberName="ToString"><MemberSignature Language="ILASM" Value=".method public final hidebysig virtual string ToString(class System.IFormatProvider provider)" /><MemberSignature Language="C#" Value="public string ToString (IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string ToString(class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.SByte.ToString(System.IFormatProvider)" /> method formats an <see cref="T:System.SByte" /> value in the default ("G", or general) format of a specified culture. If you want to specify a different format or the current culture, use the other overloads of the <see cref="M:System.SByte.ToString(System.String)" /> method, as follows:</para><list type="table"><listheader><item><term><para>To use format</para></term><description><para>For culture</para></description><description><para>Use the overload</para></description></item></listheader><item><term><para>Default ("G") format</para></term><description><para>Default (current) culture</para></description><description><para><see cref="M:System.SByte.ToString" /></para></description></item><item><term><para>A specific format</para></term><description><para>Default (current) culture</para></description><description><para><see cref="M:System.SByte.ToString(System.String)" /></para></description></item><item><term><para>A specific format</para></term><description><para>A specific culture</para></description><description><para><see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /></para></description></item></list><para></para><para>The <paramref name="provider" /> parameter is an <see cref="T:System.IFormatProvider" /> implementation. Its <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method returns a <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides culture-specific information about the format of the string returned by this method. If <paramref name="provider" /> is null, the <see cref="T:System.SByte" /> value is formatted using the <see cref="T:System.Globalization.NumberFormatInfo" /> object of the current culture. The only property of the <see cref="T:System.Globalization.NumberFormatInfo" /> object that controls the string representation of the <see cref="T:System.SByte" /> value using the general format specifier is <see cref="P:System.Globalization.NumberFormatInfo.NegativeSign" />, which defines the character that represents the negative sign.</para><para>The <paramref name="provider" /> parameter can be one of the following:</para><list type="bullet"><item><para>A <see cref="T:System.Globalization.CultureInfo" /> object that represents the culture that supplies formatting information. </para></item><item><para>The <see cref="T:System.Globalization.NumberFormatInfo" /> object that supplies formatting information.</para></item><item><para>A custom object that implements <see cref="T:System.IFormatProvider" />. Its <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method returns the <see cref="T:System.Globalization.NumberFormatInfo" /> object that supplies formatting information. </para></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The string representation of the value of this instance, as specified by <paramref name="provider" />.</para></returns><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />An object that supplies culture-specific formatting information. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="ToString"><MemberSignature Language="ILASM" Value=".method public hidebysig instance string ToString(string format)" /><MemberSignature Language="C#" Value="public string ToString (string format);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance string ToString(string format) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters><Parameter Name="format" Type="System.String" /></Parameters><Docs><exception cref="T:System.FormatException"><paramref name="format" /> is invalid.</exception><example><para>This example demonstrates the <see cref="M:System.SByte.ToString" />(<see cref="T:System.String" />) method.</para><code lang="C#">using System;
public class SByteToStringExample {
   public static void Main() {
      SByte i = 8;
      Console.WriteLine(i);
      String[] formats = {"c", "d", "e", "f", "g", "n", "p", "x"};
      foreach(String str in formats)
         Console.WriteLine("{0}: {1}", str, i.ToString(str));
   }
}
</code><para>The output is</para><c><para>8</para><para>c: $8.00</para><para>d: 8</para><para>e: 8.000000e+000</para><para>f: 8.00</para><para>g: 8</para><para>n: 8.00</para><para>p: 800.00 %</para><para>x: 8</para></c></example><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.SByte.ToString(System.String)" /> method formats an <see cref="T:System.SByte" /> value in a specified format by using the conventions of the current culture. If you want to use the default ("G", or general) format or specify a different culture, use the other overloads of the <see cref="M:System.SByte.ToString(System.String)" /> method, as follows:</para><list type="table"><listheader><item><term><para>To use format</para></term><description><para>For culture</para></description><description><para>Use the overload</para></description></item></listheader><item><term><para>Default ("G") format</para></term><description><para>Default (current) culture</para></description><description><para><see cref="M:System.SByte.ToString" /></para></description></item><item><term><para>Default ("G") format</para></term><description><para>A specific culture</para></description><description><para><see cref="M:System.SByte.ToString(System.IFormatProvider)" /></para></description></item><item><term><para>A specific format</para></term><description><para>A specific culture</para></description><description><para><see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /></para></description></item></list><para></para><para>The <paramref name="format" /> parameter can be any valid standard numeric format specifier, or any combination of custom numeric format specifiers. If <paramref name="format" /> is equal to <see cref="F:System.String.Empty" /> or is null, the return value of the current <see cref="T:System.SByte" /> object is formatted with the general format specifier ("G"). If <paramref name="format" /> is any other value, the method throws a <see cref="T:System.FormatException" />.</para><para>The .NET Framework provides extensive formatting support, which is described in greater detail in the following formatting topics:</para><list type="bullet"><item><para>For more information about numeric format specifiers, see <format type="text/html"><a href="580e57eb-ac47-4ffd-bccd-3a1637c2f467">Standard Numeric Format Strings</a></format> and <format type="text/html"><a href="6f74fd32-6c6b-48ed-8241-3c2b86dea5f4">Custom Numeric Format Strings</a></format>.</para></item><item><para>For more information about support for formatting in the .NET Framework, see <format type="text/html"><a href="0d1364da-5b30-4d42-8e6b-03378343343f">Formatting Types</a></format>.</para></item></list><para>The format of the returned string is determined by the <see cref="T:System.Globalization.NumberFormatInfo" /> object for the current culture. Depending on the <paramref name="format" /> parameter, this object controls symbols such as the negative sign, the group separator, and the decimal point symbol in the output string. To provide formatting information for cultures other than the current culture, call the <see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /> overload.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the numeric value of this instance to its equivalent string representation, using the specified format.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The string representation of the value of this instance as specified by <paramref name="format" />.</para></returns><param name="format"><attribution license="cc4" from="Microsoft" modified="false" />A standard or custom numeric format string.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="ToString"><MemberSignature Language="ILASM" Value=".method public final hidebysig virtual string ToString(string format, class System.IFormatProvider provider)" /><MemberSignature Language="C#" Value="public string ToString (string format, IFormatProvider provider);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string ToString(string format, class System.IFormatProvider provider) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters><Parameter Name="format" Type="System.String" /><Parameter Name="provider" Type="System.IFormatProvider" /></Parameters><Docs><exception cref="T:System.FormatException"><paramref name="format" /> is invalid.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /> method formats an <see cref="T:System.SByte" /> value in a specified format of a specified culture. If you want to use default format or culture settings, use the other overloads of the <see cref="M:System.SByte.ToString(System.String)" /> method, as follows:</para><list type="table"><listheader><item><term><para>To use format</para></term><description><para>For culture</para></description><description><para>Use the overload</para></description></item></listheader><item><term><para>Default ("G") format</para></term><description><para>Default (current) culture</para></description><description><para><see cref="M:System.SByte.ToString" /></para></description></item><item><term><para>Default ("G") format</para></term><description><para>A specific culture</para></description><description><para><see cref="M:System.SByte.ToString(System.IFormatProvider)" /></para></description></item><item><term><para>A specific format</para></term><description><para>Default (current) culture</para></description><description><para><see cref="M:System.SByte.ToString(System.String)" /></para></description></item></list><para>The <paramref name="format" /> parameter can be any valid standard numeric format specifier, or any combination of custom numeric format specifiers. If <paramref name="format" /> is equal to <see cref="F:System.String.Empty" /> or is null, the return value of the current <see cref="T:System.SByte" /> object is formatted with the general format specifier ("G"). If <paramref name="format" /> is any other value, the method throws a <see cref="T:System.FormatException" />.</para><para>The .NET Framework provides extensive formatting support, which is described in greater detail in the following formatting topics:</para><list type="bullet"><item><para>For more information about numeric format specifiers, see <format type="text/html"><a href="580e57eb-ac47-4ffd-bccd-3a1637c2f467">Standard Numeric Format Strings</a></format> and <format type="text/html"><a href="6f74fd32-6c6b-48ed-8241-3c2b86dea5f4">Custom Numeric Format Strings</a></format>.</para></item><item><para>For more information about support for formatting in the .NET Framework, see <format type="text/html"><a href="0d1364da-5b30-4d42-8e6b-03378343343f">Formatting Types</a></format>.</para></item></list><para>The <paramref name="provider" /> parameter is an <see cref="T:System.IFormatProvider" /> implementation. Its <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method returns a <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides culture-specific information about the format of the string returned by this method. When the <see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /> method is invoked, it calls the <paramref name="provider" /> parameter's <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method and passes it a <see cref="T:System.Type" /> object that represents the <see cref="T:System.Globalization.NumberFormatInfo" /> type. The <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method then returns the <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides information for formatting the <paramref name="value" /> parameter, such as the negative sign symbol, the group separator symbol, or the decimal point symbol. There are three ways to use the <paramref name="provider" /> parameter to supply formatting information to the <see cref="M:System.SByte.ToString(System.String,System.IFormatProvider)" /> method: </para><list type="bullet"><item><para>You can pass a <see cref="T:System.Globalization.CultureInfo" /> object that represents the culture that supplies formatting information. Its <see cref="M:System.Globalization.CultureInfo.GetFormat(System.Type)" /> method returns the <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides numeric formatting information for that culture.</para></item><item><para>You can pass the actual <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides numeric formatting information. (Its implementation of <see cref="M:System.Globalization.NumberFormatInfo.GetFormat(System.Type)" /> just returns itself.)</para></item><item><para>You can pass a custom object that implements <see cref="T:System.IFormatProvider" />. Its <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method instantiates and returns the <see cref="T:System.Globalization.NumberFormatInfo" /> object that provides formatting information.</para></item></list><para>If <paramref name="provider" /> is null, the formatting of the returned string is based on the <see cref="T:System.Globalization.NumberFormatInfo" /> object of the current culture.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The string representation of the value of this instance as specified by <paramref name="format" /> and <paramref name="provider" />.</para></returns><param name="format"><attribution license="cc4" from="Microsoft" modified="false" />A standard or custom numeric format string.</param><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />An object that supplies culture-specific formatting information. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="TryParse"><MemberSignature Language="C#" Value="public static bool TryParse (string s, out sbyte result);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryParse(string s, int8 result) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="s" Type="System.String" /><Parameter Name="result" Type="System.SByte&amp;" RefType="out" /></Parameters><Docs><param name="s">To be added.</param><param name="result">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks><since version=".NET 2.0" /></Docs></Member><Member MemberName="TryParse"><MemberSignature Language="C#" Value="public static bool TryParse (string s, System.Globalization.NumberStyles style, IFormatProvider provider, out sbyte result);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryParse(string s, valuetype System.Globalization.NumberStyles style, class System.IFormatProvider provider, int8 result) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="s" Type="System.String" /><Parameter Name="style" Type="System.Globalization.NumberStyles" /><Parameter Name="provider" Type="System.IFormatProvider" /><Parameter Name="result" Type="System.SByte&amp;" RefType="out" /></Parameters><Docs><param name="s">To be added.</param><param name="style">To be added.</param><param name="provider">To be added.</param><param name="result">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks><since version=".NET 2.0" /></Docs></Member></Members><TypeExcluded>0</TypeExcluded></Type>