I want to know tag for switch, after switch -> I will cast data T to data allow tag byte[] bytes = MessagePackSerializer.Serialize((sendType, data));