THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Reflection; | |
using System.Text; | |
using System.Xml.Serialization; |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
// | |
// FindDupesByHash.cs | |
// | |
// Author: | |
// pjensen <[email protected]> | |
// | |
// Description: | |
// Really quick hack to find duplicate files in a directory structure. | |
// |
// | |
// Main.cs | |
// | |
// Author: | |
// pjensen <[email protected]> | |
using System; | |
using System.Security.Cryptography; | |
using System.IO; | |
using System.Collections.Generic; |
/// <summary> | |
/// Given a number (n) returns a string referring to that number (n) | |
/// using (st), (nd), (th), (rd) as suffixes. | |
/// </summary> | |
/// <param name="n">The number to convert to nth notation.</param> | |
/// <returns>The passed number in nth notation.</returns> | |
private static string nth(int n) | |
{ | |
switch (n) { | |
case 11: |
/// <summary> | |
/// RandomChoice | |
/// <example> | |
/// <code> | |
/// var flowerColor = Dice.RandomChoice<Colour>(new List<Colour>() | |
/// { | |
/// new Colour(ConsoleColor.Magenta, ConsoleColor.Green), | |
/// new Colour(ConsoleColor.Red, ConsoleColor.Green), | |
/// new Colour(ConsoleColor.Yellow, ConsoleColor.Green), | |
/// new Colour(ConsoleColor.DarkMagenta, ConsoleColor.Green), |