4048 0
Convert String to List in C# and string array to list
In this article, I have provided sample code to convert comma separated string into list using C# or convert string array into list in C# console application.
Type
Article
3997 1
Visual Studio Code Intellisense (autocomplete) not working

I am trying to use Visual Studio Code instead of Visual Studio for a C# project, but Visual Studio code Intellisense (Autocomplete) suggestion is not working correctly, and doesn't show any suggestions when using Ctrl+Space, shortcut.

What can be the issues? Any suggestions, thanks.

...
Type
Question
3940 2
Error : Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'

Hi,I am using C# 3-D arrays program and getting error "Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'", how I can resolve this error my current code is as below :

...
Type
Question
3900 1
How to search a string from comma separated string in C#?

Suppose, I have a string like "abc, xyz, abc, efd", now I need to search "abc" from the comma separated string, how to check if it is inside the string or not.

If possible, I would like to know the solution in Linq, thanks

...
Type
Question
3832 0
Serialize List to JSON in C#
In this article, I have mentioned how we can Serialize List to JSON using C# with console application example.
Type
Article


3789 1
how to catch all error in C# MVC (error handling)

I have a website in C# MVC and I want to add a feature to it, i.e, to save all the errors in database using one function only, I can place try/catch block in every method of the web applications but it would be lengthy process, so is it possible to place a method/code in one place from where I can save each and every error in database??
I have no idea

 

 

...
Type
Question
3774 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
3692 0
MVC List box using jQuery getJSON and JSONResult
This article shows how you can populate MVC Listbox using jQuery and JSONResult.
Type
Article
3689 1
Remove duplicates from datatable in C#

Hello

based on this

https://www.technical-recipes.com/2017/obtaining-combinations-of-k-elements-from-n-in-c/#comment-52343

I create my data and I store them in a datatable.

Now I have another datatable which I fill it from my database.

I need to remove the duplicates from the first datatable and fill a datagridview.

This is what I have so far

...
Type
Question
3663 0
Convert JSON to CSV in C#
In this article, I have mentioned how we can convert JSON string to CSV in C# with an console application example
Type
Article

Page 15 of 24