Guest User

Untitled

a guest
Dec 15th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. public class Number : Token
  2.     {
  3.         public enum ValueType
  4.         {
  5.             Integer,
  6.             Double
  7.         }
  8.         public object Value { get; private set; }
  9.         public ValueType Type;
  10.         public Number(object value, ValueType type) : base(Tag.Number)
  11.         {
  12.             this.Value = value;
  13.             this.Type = type;
  14.         }
  15.     }
Add Comment
Please, Sign In to add comment