programacion

Page 15

Operadores de comparación en String

Los operadores == y != están sobrecargados para cadenas

Son equivalentes a String.Equals y !String.Equals

string string aa string string bb if if (a (a == ==

== "Test"; "Test"; == "Test"; "Test"; b) // b) ... ... // Devuelve Devuelve true true


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.