Posts tagged ‘string’

String Stream for .NET

I was working with C++ Standard Template Library (STL) library and when using the StringStream class I felt like we need this for .NET Yes we have a great class StringBuilder but we can’t use it as a Stream (because it is not).
Most of the cryptographic classes works with the stream object. I […]

Simple but Elegant, Creating a class from String

Creating a class from a string might be crucial for some very dynamic projects. It’s a single line of code that I wanted to share but I think it has a lot of power.

Simply get the executing assembly and call the GetType method. If your assembly is one of the linked assembly or even a […]