‘type’ does not contain a definition for ‘member’ and no extension method ‘name’ accepting a first argument of type ‘type could be found ( are you missing a using directive or an assembly reference?)

I am getting this error when I'm trying to search through my customers. "'type' does not contain a definition for 'member' and no extension method 'name' accepting a first argument of type 'type could be found ( are you missing a using directive or an assembly reference?)" Line that is causing error(actualy error is bold): if (cust[position].cust.Tolower().Contains(cname.ToLower())) code:http://ift.tt/1iFU25x Could anyone help me, very much appreciated 🙂 I know my code isn't great haha

by rslists via /r/csharp

Leave a Reply