public int getRandomID ()
{
Random r = new Random();
return r.Next(10000,99999);
string value = ddlCType.SelectedItem.Value;
switch (value)
{
case "Men Formal":
return "KML"+r;
}
}
i get an error Cannot implicitly convert type string to int in return "KML"+r;
how to solve it?