static void Main(string[] args)
        {
            ResultInt intResult = new ResultInt {
                Success = true, Data = 9
            };

            Console.WriteLine("Success = {0}, Data = {1}", intResult.Success, intResult.Data);
        }
        static void Main(string[] args)
        {
            ResultInt intResult = new ResultInt {
                Success = true, Data = 9
            };
            ResultString stringResult = new ResultString {
                Success = false, Data = "error"
            };

            Console.WriteLine("Success = {0}, Data = {1}", intResult.Success, intResult.Data);
            Console.WriteLine("Success = {0}, Data = {1}", stringResult.Success, stringResult.Data);
        }