Answer Posted / sathish
private bool CheckPalindrome(string myString)
{
string strrevs="";
foreach char c in myString
{
strrevs= c + strrevs;
}
if (strrevs==myString)
return true;
else
return false;
}
| Is This Answer Correct ? | 29 Yes | 9 No |
Post New Answer View All Answers
What are the characteristics of c#?
How many types of constructors are there in c#?
What is class method?
Is stringbuilder faster than string concatenation c#?
What is cache memory in c#?
When should we use delegates in c#?
What is eager and lazy loading in c#?
What is data adapter in c#?
What is interface inheritance in c#?
What is difference between dll and exe in c#?
Why is c# used?
Name the property of the textbox which cannot be changed at runtime?
Are arraylist faster or arrays?
How to install or uninstall a windows service?
What Happens In Memory When You Box And Unbox A Value-type?