Latest posts on tagged on "CSharp"

How to split string by \n c#?

15 September 2022

In this tutorial I will show you how to split string on "\n" to new line in c#.

How to decode HTML character code in c#?

5 August 2022

In this tutorial I will show you how to decode HTML characters in c#. Here, my string values contains HTML characters. But I need to convert to normal plain text.

How to remove all Meta keyword tags? -Jpeg Metadata Adapter

19 May 2021

I am using jpeg metadata utility in c#. I want to remove the old keyword tags and add new tags. When I used metaAdapter.Metadata.Keywords.Add(“”) it overwrites with existing keywords.

System.Net.Http.Formatting, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=

21 August 2020

I got this following error I removed the old version of System.Net.Http.Formatting version and referenced Version= This reference resolved by problem.

the relative virtual path is not allowed here

28 July 2020

When I try to display the html file HostingEnvironment.MapPath I got the error. "An exception of type 'System.ArgumentException' occurred in System.Web.dll but was not handled in user code".

Page 1 of 23