15210 0
File I/O in C# (Read, Write, Delete, Copy file using C#)
In this article, I have explained about File input/output (I/O) handling operations in C# with an example to read, write data to a file and delete or copy the file using C# .NET Console application.
Type
Article
14837 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
14830 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
14795 2
Cannot convert null to a value type JSON error

I am getting error 'Cannot convert null to a value type' when trying to deserialize JSON response into class object
I have the following code in C#

...
Type
Question
14757 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


14460 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
13913 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
13742 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
13594 2
Read file in C# (Text file .NET and .NET Core example)
In this article, I have explained and provided code to read text file in C# ( line by line or complete text file into string) using Console application example in .NET Framework and .NET Core.
Type
Article
13418 3
Useful Visual Studio Shortcuts (comment, remove comment, Collapse code etc )
In this article, I have provided many useful shortcut keyboard keys to use while coding in Visual Studio, for example shortcut to comment a code, collapse a code region, edit multiple lines etc
Type
Article

Page 3 of 24