c# convert excel column index to letter
private string GetExcelColumnName(int columnNumber)
{
int dividend = columnNumber;
string columnName = String.Empty;
int modulo;
while (dividend > 0)
{
modulo = (dividend - 1) % 26;
columnName = Convert.ToChar(65 + modulo).ToString() + columnName;
dividend = (int)((dividend - modulo) / 26);
}
return columnName;
}
Also in C#:
- how to get specific length of row in matrix c#
- roulette algorithm genetic algorithm
- c# inheritance constructor
- Celsius to Fahrenheit c#
- c# linq select from object list
- c# keyvaluepair
- unity c# is not equal to
- c# date
- Request.Form
- get type of variable c#
- Request.ServerVariables["HTTP_X_FORWARDED_FOR"] get only one ipaddress
- c# MessageBox
- get enum value c#
- Unity if object doens't exist
- draw sphere cast unity with program
- unity multiplayer
- unity main texture not working
- how to make a for loop in c#
- iphone
- grab reference from method parameter c#
- unity check if gameobject is active
- get all child gameObject of gameObject C#
- wait without pause anything else unity
- how to compare datetime in c#