I want to check between two values as to if they have a relation . For example I have the following code ,

```
string valuee = "2.5";

string otherValue = "2.5.5.0";

if (valuee.Contains(otherValue))
{}

```

since the other value variable has the "2.5" part of the valuee variable , I want the if clause to be true to proceed with the rest of the logic 

I tried with the contains method and the starts with method , both which gives false ?

Does anyone know how I can implement this behavior ?