thanks Skalecki,
.Equals("windows", StringComparison.InvariantCultureIgnoreCase) is
supported in 2.0 only n i m working on 1.1, anyother 1.1 compatible
solution.
aSIM.
"Milosz Skalecki" <mi*****@REMOVEITwp.plwrote in message
news:91**********************************@microsof t.com...
Howdy,
string szServerType = "Windows";
if (szServerType.Equals("windows",
StringComparison.InvariantCultureIgnoreCase))
{
// do something
}
--
Milosz Skalecki
MCAD
"Asim Qazi" wrote:
Hi
i m using
string szServerType = "Windows";
if(szServerType.ToUpper() == "WINDOWS")
{
//do some thing
}
it runs fine on my Machine, but when i try to run this code on my
clients machine which is in Turkish ... it dosnt compare this and return
false.
any help how to comapre plan string with same results on every locale
OS.
any help would be appriciateable.
aSIM.