Encode and decode in CSharp – C#

Tuesday, April 4th, 2017 (0 Comment)

In here, we will do simple exercise about encode and decode in CSharp – C#.

We have two ways encode and decode a string in CSharp (simple and with key).

1) Encode and decode in CSharp without key

Encode function

Decode function

Run

Output:

2) Encode and decode in CSharp with key

Encode function

Decode function

Run

Output:

 

Tags: , , , ,

Related Posts

csharp
How to send mail csharp – C#
csharp
Connection to ldap in csharp – C# simple
csharp
How to call lua in CSharp – C#
csharp
Convert object to json in CSharp – C# and vice versa

Related Posts

csharp
How to send mail csharp – C#
csharp
Connection to ldap in csharp – C# simple
csharp
How to call lua in CSharp – C#
csharp
Convert object to json in CSharp – C# and vice versa

Leave a Reply

Your email address will not be published. Required fields are marked *