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

DateTime Object does not implement public functions #1054

Open
tosandeepgarg opened this issue Apr 27, 2018 · 0 comments
Open

DateTime Object does not implement public functions #1054

tosandeepgarg opened this issue Apr 27, 2018 · 0 comments

Comments

@tosandeepgarg
Copy link

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));
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant