Tags » Csharp

Simple understanding of Reference Type Vs Value Type in C#

I like providing simple understanding to complicated stuff and hence will try to make this topic simple. For deeper knowledge you need to read books written on C#. 760 more words

Reference Type

"Let's just fix this one last bug"

… these were my words at around midnight today. Now its almost 5AM in the morning here at my place. Oh well.

On the bright side I would consider UnityFS as completed. 401 more words


C# Code to Create a CRM Note / Annotation

I needed to create a Note / Annotation programmatically today, so I googled it and found the following post, I improved on the code (I think anyway) so thought I would post it here for keep sake! 35 more words


Monitor madness, part two

In the previous exciting episode I ended on a cliffhanger; why did I put a loop around each wait? In the consumer, for example, I said: 1,339 more words


The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.The statement has been terminated.

If you are using entity framework code first to create your database in MSSQL and you have a DateTime field  in your class that is not required, 90 more words


Changing Website Color Scheme ASP.NET C#

If you are trying to change your website color scheme without using jQuery you can use this code.

protected void Page_Init(object sender, EventArgs e)
216 more words


NLog Target for Amazon SNS

I’ve been working on a small extension to NLog recently that publishes your log messages to Amazon SNS. The requirements were rather unique as I needed it to resolve some log aggregation issue whilst getting around all the problems related to log shipping¬†(memory!) and disconnected workers. 256 more words