C
CSharper
I am trying to use the following; I have an array with bunch of values
in it. I am trying to find a value that contains part of the string I
am passing
eg
string[] array = {"help","Csharp rocks"}
if (array.Contains<string>("Csharp"))
{
//here I want to get the actual string like "Csharp rocks"
string str = array.First<string>(); //Here there is a way, I can
check if the string has the value using lambda expression, not sure
how.
}
Could someone help?
Thanks,
in it. I am trying to find a value that contains part of the string I
am passing
eg
string[] array = {"help","Csharp rocks"}
if (array.Contains<string>("Csharp"))
{
//here I want to get the actual string like "Csharp rocks"
string str = array.First<string>(); //Here there is a way, I can
check if the string has the value using lambda expression, not sure
how.
}
Could someone help?
Thanks,