Click here to Skip to main content
16,022,971 members

Comments by Kareem Abou Saad (Top 5 by date)

Kareem Abou Saad 26-Jun-14 11:58am View    
Probably you'll have to use MATLAB
Kareem Abou Saad 18-Jun-14 6:45am View    
Are you referring to the singleton pattern ?
Kareem Abou Saad 18-Jun-14 4:44am View    
Probably because you are using xmlDoc.CreateElement((i).ToString()) ...
Kareem Abou Saad 18-Jun-14 4:42am View    
Usually this error is due to some firewall settings that are blocking the process of connecting to the server ...
Kareem Abou Saad 17-Jun-14 7:54am View    
Yes I will give you an example:
Consider the string: Kareem,20,Programmer.
Each value separated by a comma represents a field, such the it resembles the following pattern: Name,Age,Occupation.

string s = "Kareem,20,Programmer";
string[] info = String.Split(","); //Splits the string into fields separated by a comma.
string[] fields = {"Name", "Age", "Occupation");

//Fill the 2-dimensional array using for loops
String[,] ExportData()
{
String[,] Data = new String[fields.Length, 2];

int iRow;
for (iRow = 0; iRow < fields.Length; iRow++)
{
//Put the row and column address in the cell.
Data[iRow, 0] = fields[iRow];
Data[iRow, 1] = info[iRow];
}

return Data;
}

Sorry for the late reply by the way I hope I helped.