3
Answers

string calculation

i want to calculate the string length ,and store the value in 1 variable,
i had calculte the manually as 16,
but i want to it calculate dynamically which is from drl, 
(source)drl = drl + "-"+driveLetter; 
             string sub = drl.Substring(0,16); 
Answers (3)