Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ExtensionDateTime
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here DateTime d = new DateTime(2016,2,27); var f = d.DaysTillEndOfMonth(); Console.WriteLine(f); } } public static class Days { public static int DaysTillEndOfMonth(this DateTime d) { return DateTime.DaysInMonth(d.Year, d.Month)-d.Day; } } }
run
|
edit
|
history
|
help
0
Prsonal informashin
Non-User input - Random Controlled - Guessing Game
Using System.Reflection to find Property Name and Value of any Generic Class
asasa
Found many section of times intersect (can edit)
Found many section of times intersect.
I have a small friend
axasxasxasaxsd
Write a program to filter distinct items from the array
*271*271#