Files
2019-01-06 18:31:17 +01:00

35 lines
748 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dynamics
{
class Program
{
static void Main(string[] args)
{
//object obj = "Tommy";
////Console.WriteLine(obj.GetHashCode());
//var methodInfo = obj.GetType().GetMethod("GetHashCode");
//Console.WriteLine(methodInfo.Invoke(null, null)) ;
//dynamic excelObject = "Tommy";
//excelObject.Optimize();
//dynamic name = "Tommy";
// name = 23.50f;
// name++; not accepted
dynamic a = 10;
dynamic b = 5;
var c = a + b;
}
}
}