• Code
  • Tags
  • Users
  • Titles
  • Log in
  • Feedback
  • FAQ
Share Code
Welcome to ForkCan.com

ForkCan is all about sharing code in a social way.

Discuss, debate or argue with other devs about their or your own code.

Give other devs feedback or make a Fork (Make a better version of a shared code).

Rate the code, if you use the code mark it as used so others can see if the shared code is used by someone.

Help each other to be better devs and to be more productive.


Features not working yet:

Flag a post


QR Code

Tiny Url

http://4kcan.com/s/MjEx

Related Code
To, FromBase64 and ToHash (Flash code friendly) Extension
Extension method to create a delimited string from a IEnumerable<T>
Some useful extensions to String
Fork of Some useful extensions to String
Fork of Extension method to create a delimited string from a IEnumerable<T>
Extension for string.Format(...)

GreaterThen LessThan extenstion methods to Int type

No hard core code :) but might be useful to get simplified controls of int size...

0
361 0 0 0 0 0

   public static class IntExtension
    {
        public static bool GreaterThan(this int x, int value)
        {
            return (x > value);
        }

        public static bool LessThan(this int x, int value)
        {
            return (x < value);
        }
}

Share: twitter | facebook   Action: used | fork | flag

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

int

Mark 'int' tag as 'like'

Mark 'int' tag as 'ignore'


 @johannormen "Code Contributor"
1.24k
July 20, 2010 8:28 PM

Fork

 GreaterThen LessThan extenstion methods to Int type -  @johannormen Tuesday 20, 2010 8:28 PM


0 Feedback


You must log in before you can give any feedback


0 Discussion(s)

Newest Oldest

You must log in before you can post a comment

Squeed
Made by: Fredrik Normén 2010