Hi im new to c# that just changed from vb 2005 and my question is how to check if the last char is the letter "a" or not"
i had tries this but came up with a error
or is there way to check the last char
note this is in vb 2005
im using the c# 2005 express edition
i had tries this but came up with a error
Code:
if (txttext.Text.EndsWith == "a") { }
note this is in vb 2005
Code:
if txttex.text.chars(txttext.lenght -1 ) = "a" then end if
Comment