Skip to content

case sensitive #15

@mithulamarshal

Description

@mithulamarshal

Below code wont work if the title is compared against a lower case string. It works only if the match is accurate. My equals method with ignorecase didnt work.

where cm.title.ToLower() == "Category:Mammals of Indonesia".ToLower() throws error

var pages = (from cm in wiki.Query.categorymembers()
where cm.title == "Category:Mammals of Indonesia"
orderby cm descending
select cm.title)
.ToEnumerable();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions