public static void TestAssignment() { StopWatch t1 = new StopWatch("dynamic set"); StopWatch t2 = new StopWatch("compile set"); Adjacency edge = new Adjacency(3, 4); Console.WriteLine(edge.ToDescriptionString()); t1.tic(); Tag.SetProperty(edge, "SpringConstant", "200"); t1.toc(); Console.WriteLine(edge.ToDescriptionString()); t2.tic(); edge.SpringConstant = 203; t2.toc(); Console.WriteLine(edge.ToDescriptionString()); Console.WriteLine(t1.Result()); Console.WriteLine(t2.Result()); }