7341 0
String Interpolation in C# with examples
In this article, I have explained about $ -C# string interpolation and how to use it in C# with console application examples
Type
Article
7214 2
How to rename a file and directory in C#?

I am working with files and directory in C#, so I would like to know how can I rename a file and directory in C#? I would like to rename file first and then in some cases would have to rename directory also.

I see there is File.Move Method, but is there any other method or way to rename a file and what about Directory, how to rename directory?

...
Type
Question
7159 3
How to insert C# variable value in between string properly?

Hello, I am trying to pass this string from back-end C# to front end, and want to render it as HTML, when passing this string to the front-end, it doesn't look proper, here is my current C# code.

...
Type
Question
7121 0
Understanding Unit testing in C# With Example
In this article, I have provided the basics of Unit testing in C# with example and have also explained why it is important to use Unit testing.
Type
Article
7117 0
Bundling and Minification in MVC C#
In this article, I will explain how you can implement bundling and minification in your ASP.NET MVC application(step by step) which improves your web-application performance.
Type
Article


7094 0
Understanding Delegates in C# with examples (with Multicast delegate)
This article will help you explain what are the delegates in C# with the example, its advantages and when we should use delegates.
Type
Article
7072 1
How to get Current page number of IPagedList Razor View in MVC?

Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.

...
Type
Question
6988 0
Using Generics in C# (With Example)
In this article, I have explained about what is generics in C# and it's benefits in C# with an example
Type
Article
6943 2
How to solve error "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"?

Hello, When I am using below simple C# code to untidy my XML string, but when executing locally it is working fine, but on server I am getting below error

...
Type
Question
6701 1
Update page without loading it using PartialView

How can I make a controller in ASP.NET MVC do something(here it is inserting data in database) but doesn't load or reload the whole view just the partial view

...

Type
Question

Page 11 of 24