3
Reply

Understanding this code

Sahil Dev

Sahil Dev

Feb 28 2016 1:28 PM
326
Hi,
 
I'm new to C#
 
Can someone help me understanding this bit of code?
 
  1. for (int i = 0; i < theMaterial.Step; i++)  
  2.                     {  
  3.                         theMaterial.Data.Columns.Add(i.ToString(), typeof(double));  
  4.                     }  
Is Add a C# internal function?
What is it exactly doing?
 
Sahil

 


Answers (3)