Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
wyliczenie 1 dnia tygodnia
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { DateTime d = DateTime.Today.AddDays(-7); Console.WriteLine(d.AddDays(-(int)d.DayOfWeek+1)); Console.WriteLine(d.AddDays(7-(int)d.DayOfWeek)); } } }
run
|
edit
|
history
|
help
0
tax cal
NumberSeenSample
Only unique chars into string?
Guid Formatting Code Snippet
xml into dictionary
Generics Operator test
practice
Timespan Calculator
1 to 1000 armstrong
partial method