Skip to content

"Length.TryParse" parses invalid values #343

Closed
@nimishmistry

Description

@nimishmistry

Length.TryParse("2m,,,1", out length) is parsed and the length is set to "2m". Is this intended?

I'm trying to use TryParse for validation.

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