Hello. ? Here is some open-source PHP code. ? It takes 2 inputs: a string with CSS and and string with HTML. It outputs a string with HTML with the CSS in-line:
<[login to view URL]>
[][1]This is mainly used to generate email-friendly html (many email clients don't support external css or css that is defined in a <style> tag).
The PHP code is well-written - it has comments and its only 185 lines of code. ? I need this translated into a C# class (.net 3.5 is acceptable).