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 ......
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. ......