0
kicks
DYNAMIC IN C#
The other day I was playing around with some office code, and I found myself writing a lot of code much like the following sample that Anders used at his PDC talk:
static void Main(string[] args)
{
var xl = new Excel.Application();
((Excel.Range)xl.Cells[1, 1]).Value2 = "Process Name";
((Excel.Range)xl.Cells[1, 2]).Value2 = "Memory Usage";
}