Funny or sad

This is either the funniest or the saddest extension method I’ve ever seen.

private static Random rand = new Random();
 
public static bool isRandom(this int source) {
  return source == rand.Next();
}


israndom extension method by Sir Awesomepants

No comments:

Post a Comment