Users Pricing

forum

home / developersection / forums / how to convert html text to plain text in c#?

How to convert html text to plain text in C#?

Anonymous User 1761 21 Mar 2018

Hi,

 I want to convert HTML content into plain text.

Here is my code:

Context.EntityName.Where(x=>x.Name=="Test").select(x=> new ModelName
{
Title = x.Content
});

Please give me some idea to convert HTML text to plain text.


I am a content writter !


1 Answers