dynamics finished

This commit is contained in:
2019-01-06 18:31:17 +01:00
parent 81833c686b
commit 8307f4b50c
6 changed files with 136 additions and 1 deletions

34
Dynamics/Program.cs Normal file
View File

@ -0,0 +1,34 @@
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;
}
}
}