6666 3
How to convert dynamic JSON string into C# class?

Hello, I am not able to convert dynamic JSON response string into C# class object, it's a long JSON and i even tried to convert JSON into class using the  website http://json2csharp.com/ but it's doesn't provide me proper JSON class, Here is my sample JSON

...
Type
Question
6662 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
6583 2
DbArithmeticExpression arguments must have a numeric common type

When I am trying to run this command using Entity framework in controller of my project

...
Type
Question
6565 0
Hello World Visual Studio Code C# Example
In this article, I have provided step by step procedure to create hello world program in C# using Visual Studio Code and how to create new console project in it.
Type
Article
6498 0
Creating C# Custom Exception (With Console application example)
To provide clear error details to user and prevent app crashes, sometimes you may need to create custom exception in C#, so in this article I have explained how you can create custom exception in C#.
Type
Article


6243 1
How to make Group by in Linq work with possible null values, in C#?

I am trying to add List.GroupBy(a=>a.ProductType.Name).Select(a=>a.FirstOrDefault()), now here I can have null values for .ProductType or .name so how can I ignore null values in C#, so I can get proper results of GroupBy?

If I am using above query in C#, I am getting error

Object reference not set to an instance of an object

I tried to make it like List.GroupBy(a=>a.ProductType != null ? a.ProductType), but it doesn't work.

...
Type
Question
6159 2
The UPDATE statement conflicted with the FOREIGN KEY constraint

When I am trying to save Updated data in table using Entity Framework in ASP.NET MVC, I am getting the below error

...
Type
Question
6128 0
Various star pattern program in c#
In this article, I have show example of various star pattern programs in C# with code and there output.
Type
Article
6087 0
Read OR Write OR Modify Web.Config file using C#
In this article, I have explained and provided code to read, write or modify values from web.config file programmatically using C# code.
Type
Article
6038 0
Sealed Class in C# (Explanation with example)
This Article provides you complete information with working example of sealed class and methods in C# and how it can be useful for you.
Type
Article

Page 7 of 18