原文:LiveCharts文档-4基本绘图-2基本柱形图 4基本绘图-2基本柱形图 using System.Windows.Forms; using LiveCharts; using LiveCharts.Wpf; namespace Winforms.Cartesian.BasicBar { public partial class BasicColumnExample : Form { public BasicColumnExample() { InitializeComponent()
常量,字段,构造方法 常量 1.什么是常量 常量是值从不变化的符号,在编译之前值就必须确定.编译后,常量值会保存到程序集元数据中.所以,常量必须是编译器识别的基元类型的常量,如:Boolean,Char,Byte,SByte,...,...,...,UInt64,Single,Double,Decimal,String.另外,C#是可以定义非基元类型的常量的,前提是值必须为null. public sealed class SomeType { public const SomeType