• 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

Tagged code 'extension' feeds
Latest activity

Tagged Code

Views Used Newest Oldest

622
Views
Dictionary Extension for key retrieval / initialization
By @lowendahl   December 17, 2010 10:36 AM

"A extension method that encapsulates the check for a key and initialization if it isn't there. "
dictionary

Mark 'dictionary' tag as 'like'

Mark 'dictionary' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

method

Mark 'method' tag as 'like'

Mark 'method' tag as 'ignore'

0 0 0 0


723
Views
Fork of Some useful extensions to String
By @toha73 "Code Contributor"  July 21, 2010 11:07 AM

"I added some useful extensions to the string object to make a more readable code etc... enjoy... Modify it to what suites you be"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

string

Mark 'string' tag as 'like'

Mark 'string' tag as 'ignore'

0 0 0 14


351
Views
GreaterThen LessThan extenstion methods to Int type
By @johannormen "Code Contributor"  July 20, 2010 8:28 PM

"No hard core code :) but might be useful to get simplified controls of int size... "
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'

0 0 0 0


394
Views
Some useful extensions to String
By @johannormen "Code Contributor"  July 20, 2010 8:25 PM

"I added some useful extensions to the string object to make a more readable code etc... enjoy... Modify it to what suites you be"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

string

Mark 'string' tag as 'like'

Mark 'string' tag as 'ignore'

0 1 0 0


339
Views
Fork of Extension method to create a delimited string from a IEnumerable<T>
By @luisabreu   July 14, 2010 1:48 PM

"Sometimes you want to split on every item in a collection and delimit it with a custom seperator"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

methods

Mark 'methods' tag as 'like'

Mark 'methods' tag as 'ignore'

0 0 0 0


422
Views
To, FromBase64 and ToHash (Flash code friendly) Extension
By @johannormen "Code Contributor"  July 13, 2010 9:11 AM

"Three methods for String, ToBase64 string and FromBase64 string and a ToHash with saltkey"
base64

Mark 'base64' tag as 'like'

Mark 'base64' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

hash

Mark 'hash' tag as 'like'

Mark 'hash' tag as 'ignore'

string

Mark 'string' tag as 'like'

Mark 'string' tag as 'ignore'

2 0 0 0


480
Views
Extension method to create a delimited string from a IEnumerable<T>
By @kennyeliasson   July 12, 2010 10:52 AM

"Sometimes you want to split on every item in a collection and delimit it with a custom seperator"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

methods

Mark 'methods' tag as 'like'

Mark 'methods' tag as 'ignore'

0 0 0 1


Squeed
Made by: Fredrik Normén 2010