3
Answers

Understanding this code

Sahil Dev

Sahil Dev

8y
346
1
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)