C# Interview questions – How to get one/two year back from current date
To get 1 year back from current date DateTime.Now.AddYears( -1 ); To get 2 year back from current date DateTime.Now.AddYears( -2 );
learn and grow together
To get 1 year back from current date DateTime.Now.AddYears( -1 ); To get 2 year back from current date DateTime.Now.AddYears( -2 );