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 1245 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.


c# c#  mvc 
Updated on 21-Mar-2018
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By