Geeks With Blogs
Lee Brandt's Blog You're only as smart as your last line of code December 2008 Entries
Implicit Conversion Operators
Recently, we added a SSN type to our project. I also wanted to make an implicit conversion from a string, so that when using it I could do: 1: SSN mySsn = "111-22-3333"; I came across an msdn page about how to code it and thought I'd post it here for posterity. 1: using System; 2: 3: namespace Examinetics.Core 4: { 5: public class SSN 6: { 7: private readonly string _ssn; 8: 9: public SSN(string ssnString) 10: { 11: _ssn = ssnString; 12: } 13: 14: // implicit string converter 15: public static implicit ......

Posted On Wednesday, December 24, 2008 12:43 AM

Kansas City Day of Dot Net
OK. Now that I've fully recovered from the event, I can post about it. The Kansas City Day of Dot Net was a great success. We had about 90 people, 20 speakers, 4 tracks and WAY too much food. Everybody seemed to have a great time and got some good information out of it. I got to meet some of the people I'd been chatting with online or following on twitter. A HUGE thank you goes out to Doug Butscher, Becky Isserman, Yair Segal and John Alexander. Without them, there would not have even BEEN an event. ......

Posted On Monday, December 15, 2008 6:38 AM

Copyright © Lee Brandt | Powered by: