5369 1
Hello World C# program with explanation of code
In this article, I have provided code to print hello world in C# using Visual Studio console application with explanation of code for beginners.
Type
Article
12805 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
9612 1
How to create realtime video conference application using ASP.NET MVC?

I am developing online learning portal in ASP.NET MVC web-application and I want develop video conference featue inside web-app.

Please help me in creating this application, because I am new in web-development.

...
Type
Question
9737 1
LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String)' method

I am getting an error "System.NotSupportedException: LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String)' method and this method cannot be translated into a store expression." when trying to run below code in C# ASP.NET MVC

...
Type
Question
12403 0
How to write to excel in C#? ( Text, adding images / styling in Excel)
In this article, I have explained how you can create excel or write to excel file using C# and EPPlus library, which also show how to add images in excel, merge columns, style text, using EPPlus
Type
Article


3801 0
Best C# programming course available online (Free OR paid)
In this article, I have provided the list of c# programming course or c# programming tutorial links, using which you learn C# online for free or by buying course available on Udemy.
Type
Article
8396 0
How to read and write in Console app using C#?
In this article, I have explained how to read and write in C# console applications using Console.ReadLine(), Console.WriteLine() methods in C# for basic, input and output using Console.
Type
Article
12850 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
5312 2
There is already an open datareader associated - error in C#

I am trying to run a below query in my ASP.NET MVC project, but I am getting an error "there is already an open datareader associated with this command which much be closed first" in C#, how can I resolve it?

datareader-alread-open-C-sharp-min.png

Here is the C# code, which I am using

...
Type
Question
9449 2
How to check if I am using localhost server or not in C# MVC?

I am trying to create a background job using hangfire as explained in this article "Background jobs in ASP.NET MVC C# using Hangfire.io" but I don't want to run this background jobs when working locally.

So, How can I check if I am on localhost in C# & ASP.NET MVC and not run this background jobs?

...
Type
Question

Page 14 of 24