Write code for palindrome?

Answer Posted / dextr316

Dim inputvalue As String = TextBox1.Text
Dim reversevalue As String = StrReverse(inputvalue)
If (inputvalue = reversevalue) Then
MsgBox("Palindrome")
Else
MsgBox("Not a Palindrome")
End If
End Sub

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly happens when we debug and build the program?

1985


What is expression tree in c#?

485


What is out int in c#?

481


What does an indexer do?

480


What are most desktop applications written in?

479






Why are local variables stored in stack?

556


What is a generic method?

489


What is ulong in c#?

576


What is unrecognized escape sequence in c#?

511


Give an example to show for hiding base class methods?

458


Can properties be overloaded in c#?

554


Which class comes after the SortedList class?

570


What is the difference between CreateObject() and GetObject()?

557


what is a constructor? What is a destructor?

526


What is the difference between string keyword and system.string class?

517