How to filter a string using c# using the logic of LIKE in SQL?
I have a string variable in C# aka product_name,
I want to filter likte this;

product_name LIKE '%BONUS NAME%' return or false..
how can i do that please
regards
bk

C#
PS: I have to do it on C# not SQL
How to filter a string using c# using the logic of LIKE in SQL?
===

I have a string variable in C# aka product_name,
I want to filter likte this;

product_name LIKE '%BONUS NAME%' return or false..
how can i do that please
regards
bk

C#
PS: I have to do it on C# not SQL