4398 1
Read file in C# (Text file .NET and .NET Core example)
In this article, I have explained and provided code to read text file in C# ( line by line or complete text file into string) using Console application example in .NET Framework and .NET Core.
Type
Article
4223 1
How to convert a positive number to negative number and negative to positive in C#?

Hello, I would like to know, How can I convert a positive number ( int type) to a negative number in C# and vice-versa ( negative to positive number using C#)?

 

 

...
Type
Question
4074 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
4067 2
How to encrypt and decrypt a string in C#? Need easy method with example

How to encrypt and decrypt a string in C#? I would like to know simplest and efficient way for this using some example if possible, thanks

...
Type
Question
4024 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


4023 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
3996 1
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
3898 0
Understanding Garbage Collection In C# With Example
In this article, I have discussed in detail about how garbage collection generations works in C# .NET with an example in console application.
Type
Article
3810 2
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
3793 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

Page 6 of 16