Jump to content
Xtreme .Net Talk

mskeel

Avatar/Signature
  • Posts

    920
  • Joined

  • Last visited

Personal Information

  • Visual Studio .NET Version
    Visual Studio 2005
  • .NET Preferred Language
    C#, VB.Net, F#

mskeel's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I've left my job (pssst...they're looking for a replacement with .Net experience) and started studying at university again so I won't be around on the 'boards here so much anymore. It looks like the major projects I'll be working on at school will be in Java land. I just wanted to say thanks before I disappeared indefinitely to all the volunteers who filled this board with all the great information that brought me here in the first place. I may lurk occasionally, but since I won't be coding in .Net that often it doesn't make sense for me to waste my time around here. ;) Good luck in to all in your .Net adventures. And seriously, Black Knight is awesome and they are looking to hire at least one smart .Net programmer. Take a look, the benefits are sweet and the work is crazy cool.
  2. Did you hear that? That was the sound of this message board being flushed down the toilet thanks to too many ads.
  3. Re: ToUnixTime! I would think that this dateTime.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds; would be equivalent to what you've posted, MrPaul, but when I run the code side by side I get drastically different values. I don't have time to investigate it now so if someone could sort it out, I am curious to know why.
  4. I've had a lot of success with the Conversive AutoUpdate component: http://csautoupdater.sourceforge.net/ It handles proxies well. All you need is an http server with file browsing enabled.
  5. Perhaps a class with hashtables as members might work? Code: class SomeClass { public hashtable sub1 = new Hashtable(); //you might want to use generics here instead of hashtables public hashtable sub2 = new Hashtable(); public hashtable sub3 = new Hashtable(); // Except this would be done using better OO techniques } Then you would use the Dictionary generic as suggested by MrPaul: Code: Dictionary<string, SomeClass> data = new Dictionary<string, SomeClass>();
  6. That's interesting, because my server definitely restarts when I tell it to over remote desktop. Perhaps because I'm logged in as an admin? Or perhaps it's a feature exclusive to Windows Server?
  7. Couldn't you just remote into the machine via Remote Desktop and tell the machine to reboot? Of course, that wouldn't be a fully automated solution.
  8. Welcome...to the the dark side!
  9. As far as I know, "flank speed" is a navy term. http://en.wikipedia.org/wiki/Flank_speed I don't think there is anything wrong with applying it to email, though I would consider it to be informal.
  10. For starters, check out the Command and Memento patterns from the GoF's Design Patterns.
  11. Do you have a link?
  12. If you are just trying to read the XML file yourself, drop it into the VS editor. VS will automatically indent everything and format the XML so that it is more human readable.
  13. I usually wrap my unit test classes in conditional compilation blocks so they aren't compiled in release mode. It cuts down the size of my assemblies a little and helps easily trim the clutter on sandcastle generated documentation files. In C# it looks like: #if DEBUG // Code you want only in Debug builds here #endif In VB.Net it looks like #If DEBUG Then ' Code you want only in Debug builds here #End If The cool thing about conditional compilation is that you can also declare other compiler level variables if you wanted to get fancy. So, you could have a Release build with Unit Tests only under certain, specific conditions if you really wanted to. I must say, the method you have taken for writing unit tests (internal with internal visible attributes) seems rather complicated. Did you run into problems with other unit test implementation techniques or do you just like having the tests as physically close to the implementation as possible?
  14. What about the LinkedList<T> class?
  15. void myMethod(string a, string b){} I believe this causes a compile error becuase the default access level is friend/internal. Since you are implementing the method from an interface, it is required to be public, thus using the public keyword resolves the error.
×
×
  • Create New...