C#数据类型及相互转换
一、C#常用的基础数值类型
我们通过枚举来举例
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SWJ2
{
//C#常用的基础数值类型
public enum DataType
{
Bool,
SByte,
Byte,