Saturday 23 July 2016

Convert DOC to HTML with Images

We will be using OpenXML and OpenXmlPowerTools to convert Word document into HTML.

Step 1

Install Required Package

Install-Package DocumentFormat.OpenXml

Install-Package OpenXmlPowerTools

Add Reference

Right click in you Project in Solution Explorer
then Add >> Reference >> Select System.Drawing and WindowsBase

Follow the CODE Below

Fork me on GITHUB

https://github.com/niisar/WordToHTML

Sunday 17 July 2016

List vs Dictionary vs Sets in Dot NET

List

Any index based collection are known as List and there index starts with 0

Dictionary

Dictionaries will let you use any type you want as the key, integers, dates, strings.

Sets

The focus is not on direct access to an element, but treating it as a single group and performing operations on the collection as a whole.