6013 0
Simple C# code examples with output (Console application example)
In this article, I have provided list of various examples of C# programs with output and explanation of basic code, which will help beginner or students to learn C# easily.
Type
Article
5912 1
MySQL Connection in C# (Console Application Example)
In this article, I have provided working sample to connect to MySQL in C# using Visual Studio with Console application example.Also , how to insert new row in MySQL database in C# and Visual Studio.
Type
Article
5902 0
How to get file extension or file size in C# ? ( Code With Example )
In this tutorial article, I have provided sample code with examples, which shows how to get file extension from file name and file size in C#
Type
Article
5824 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
5768 0
Asynchronous programming in C# and ASP.NET MVC ( With example )
In this article, I have explained about the async-await keyword in C# and how to use asynchronous programming in c#, explained with console application sample.
Type
Article


5714 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
5635 0
Understanding Enums in C# & it's advantages with example
This article will give you introduction of Enums in C# and will help you understand where we should use it in real world and gives it advantages.
Type
Article
5385 1
Object Oriented Programming (OOPS) concepts in c# with example
OOP stands for Object Oriented Programming, in this article I have introduced you the concept of Object-Oriented Programming in C# with example
Type
Article
5266 2
how to convert UTC DateTime to local datetime in C#?

I want method which returns the string datetime in target locale format by taking the UTC DateTime and UTC DateTime offset in c#, here is the example code

 

...
Type
Question
5233 1
How to validate TinyMCE textarea in ASP.NET MVC?

How can i validate TinyMCE using asp.net MVC and razor? Currently, i was trying to validate it using Model validations but it is not working and not showing any errors even when TinyMCE textarea is blank, so how can i validate it? here is my javascript code

...
Type
Question

Page 8 of 18