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 are access modifiers used for?

791


Describe the overview of clr integration.

659


Explain states of a thread in c#?

729


How do you create partial methods?

724


Why we use get and set property in c#?

688


Can I call a virtual method from a constructor/destructor?

648


What are the types of inheritance in c#?

703


Is list passed by reference c#?

651


what is a destructor?

777


How do you clear a list in c#?

665


Differentiate between the public and private ?

732


Explain how do you debug an asp.net web application?

654


Is ram a heap?

680


Why are dynamic link library used over static one?

703


How can you read 3rd line from a text file?

759