c# - Best datatype for storing html -


i need store html in 1 of varibles in class, datatype suggest? string ok or there special datatype can use kind of operation.

string if you're storing raw html.

if planning on storing object-representation of html, use object.

however, if it's raw html string, you'd use string. there's nothing specially suited type of string content.

actually, there kindof is, has specialist usage represent already-encoded html data should not encoded again (generally used output raw html in asp.net). isn't want, answer complete - htmlstring.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -