14329 2
How to convert HTML text into plain text using C#?

I have a requirement in which I need to render/display plain text from HTML content, so I would like to know how can I do it using C#?

For example, below is my HTML code

...
Type
Question
14307 0
Exception handling in C# (With try-catch-finally block details)
In this article, I will explain you in detail about the concept of Exception handling in C# and how we can use try-catch block to handle errors with example.
Type
Article
14196 3
How to remove double quotes from string using C#?

I wanted to remove double quotes from a string using C#, How can I do that easily and efficiently?

For Example, I have string : "-10,20", how to get output -> -10,20

 

...
Type
Question
14131 3
how to convert UTC time to Local using C#?

Hello, I would like to know how can I convert UTC datetime into local (user's pc) datetime in asp.net MVC razor page using C#?

I thought .ToLocalTime() should work, but I am not getting correct result.

...
Type
Question
13922 2
Error "Maximum request length exceeded" in ASP.NET MVC

When I am trying to upload a pdf file(10 MB) using javascript file upload in my ASP.NET MVC application, I am getting this error as below

Maximum request length exceeded

Here is the image of the error

...

Type
Question


13493 2
How to create XML document using XDocument in C#?

Hello, I need to add some data in XML file by programmatically creating it using C# and XDocument, so how I will create it?

For example, Suppose if I need output like below in XML

...
Type
Question
13187 0
Get IP Address using C# (Local and Public IP Example)
In this article, I have provided sample code to get client ip address using C#, I will be providing example of both, public IP and local IP using Console application.
Type
Article
13007 0
Verify email address exists or not? (With email id validation in C#)
In this tutorial, I am going to provide you, code using C# to verify email address exists or not, you can use this c# validate email address code while registering user.
Type
Article
12810 2
How to format currency string in C# to add commas in thousands place?

I have a string "10000.00", I would like to add commas in thousands place for a give string or number using C# .NET String.Format()? So I can show output as "1,00,00.00", something like this.

...
Type
Question
12723 3
How to check if string is number (IsNumeric) in C#?

I have a string "123" and another string "Test", now I want to identify from which you these string conatins number, so How can i check if string is a number or not in C#, is there any method in C# or we need to create custom method for it?

Example :

"11" = true

"Hello"= false

...
Type
Question

Page 3 of 24