Does C# have int8 and uint8?

后端 未结 3 2076
抹茶落季
抹茶落季 2020-12-29 18:20

I have four questions:

  1. Does C# have int8
  2. If so, how can I convert a string to int8?
  3. Does C# have
3条回答
  •  余生分开走
    2020-12-29 18:44

    1. Yes, the c# equivalent is known as sbyte
    2. Convert.ToSByte( string )
    3. Yes, the c# equivalent is known as byte
    4. Convert.ToByte( string )

    For more info on the equivalent data types, check out a link

提交回复
热议问题