Blog entries tagged with C#

The ”as” operator in C#

by: Peter Hultgren (Sogeti)

I don’t know if it’s just me, but I don’t see people using the ”as” operator in C# a lot when I read code. It’s a shame, because it’s really nifty. For example, you can use it like this when you retrieve something from the cache: string s =... [ Read full article ]

04 December 2007  2 Comments


About me

I am a 27 years old consultant at Sogeti in Stockholm, Sweden. I am working mainly with developing solutions in EPiServer, which I've been doing since 2006. I also write at Microserf and you can e-mail me at this address: nospam@localhostpeter.microserfnospam@localhost@nospam@localhostgmail.comnospam@localhost.



Tag cloud

EPiTrace logger