Skip to content

FactorialSequence.cs #383

@deljohnson1

Description

@deljohnson1

FactorialSequence.cs uses var n = 0; as an initializer, which turns n into an int; it should be a BigInteger.

BigInteger includes a constant of 1, so there is no need to create a new one.

The code can also be simplified and optimized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions