Category Archives: C#

Merge pdf files using C#

Recently I had to create an assembly component using C# to merge multiple PDF files into one file. The specification was pretty straight forward: 1) Merge two of more PDF document into a single output PDF File. 2) Used on … Continue reading

Posted in .NET, C#, Software | 2 Comments

Copy-Clone custom object in C#

This post relates how to Copy/Clone custom object in C# (Deep and Shallow Clone). In this example I will be having a base class that all my custom object will be inheriting from. Updates: After quiet some research on the … Continue reading

Posted in .NET, C# | Tagged | 1 Comment

ASP.NET: HyperLink and Label without Id attribute

Today, I’ll talk a bit about how ASP.NET handles HTML rendering of controls such as <asp:HyperLink> and <asp:Label>.

Posted in .NET, ASP.NET, C#, SEO, Software, Web | Tagged , | 1 Comment

Exception: Collection was modified; enumeration operation may not execute.

It’s been a while that i didn’t get this Exception, while working, and yesterday, while I was performing some test on

Posted in .NET, ASP.NET, C#, Work | Tagged , , | Leave a comment

Copy custom object in C#

There are several ways to clone custom object in .NET. Using reflection to get information about each field and properties in the custom class, create a new instance and assign the proper value. Manually implementing the clone method and assign … Continue reading

Posted in .NET, C#, Tech | Tagged , | Leave a comment