Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

DateTime Object does not implement public functions #1054

Description

@tosandeepgarg

DateTime object does not have most of the public methods available. For example all Add methods like Add,AddDays, AddMonths, AddYears etc.
Here is test case.

using System;

public static class Program
{
    public static void Main(string[] args)
    {
        var s = DateTime.Now;
        Console.WriteLine(s.AddDays(1));
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions