12788 1
Barcode generator in C# ( and how to read barcode )
In this article, I have provided sample code, which you can use in C# MVC or Win-Form or any other C# app to generate barcode Type 128 / UPCA/ 11 and read barcode in C#.
Type
Article
12764 2
C# error "Type 'string' does not contain a definition for 'equals' and no extension method 'equals' of type 'string' could be found."

Hi please I'm converting 12-hour AM/PM format, to military 24-hour time format using C# Console app.

Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock.

My code is that :

...
Type
Question
12695 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
12657 0
Multithreading in C# (With example)
In this tutorial, I have explained about multithreading in C# with an example & how to use multithreading in C# .NET
Type
Article
12542 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


12425 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
12055 0
Multiple ways to add newline into a String in C#
In this short article, I have provided multiple ways to add a line break into a string using C# with Console Application example.
Type
Article
11938 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
11927 3
How to Add Spaces before Capital letter in a string using C#?

In my MVC project, I am getting dropdown text data as "NoEffect", "FadeOut" etc, now I would like to show user as "No Effect", "Fade out" etc, show how can I achieve it using C#?

Any method would work, using regex or without using regex.

...
Type
Question
11736 2
Invalid length for a Base-64 char array or string error in C#

When I am trying to decrypt the encrypted string using C#, I am getting an error as below

Invalid-length-for-a-Base-64-char-array-or-string-decryption-c-sharp.png

Here is the HTML Razor anchor link code clicking on which, I am trying to decrypt it

...
Type
Question

Page 6 of 24