Skip to content

Conversation

@pascalecu
Copy link
Contributor

@pascalecu pascalecu commented Jul 28, 2025

Congrats on taking the first step to contributing to the Sample Programs repository maintained by [The Renegade Coder][renegade-coder]!
For simplicity, please make sure that your pull request includes one and only one contribution.

Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.
For more information please refer to our [contributing documentation][contributing]

I Am Adding a New Code Snippet in an Existing Language

@rzuckerm rzuckerm added enhancement Any code that improves the repo base64 encode decode See: https://sampleprograms.io/projects/base64-encode-decode/ labels Jul 28, 2025
Comment on lines 11 to 17
public static bool IsBase64Char(char c)
{
return (c >= 'A' && c <= 'Z') ||
(c >= 'a' && c <= 'z') ||
(c >= '0' && c <= '9') ||
c == '+' || c == '/' || c == '=';
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function doesn't seem to be used, so it can be removed.

@rzuckerm rzuckerm merged commit 05d38f9 into TheRenegadeCoder:main Jul 28, 2025
7 checks passed
pascalecu added a commit to pascalecu/sample-programs that referenced this pull request Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

base64 encode decode See: https://sampleprograms.io/projects/base64-encode-decode/ enhancement Any code that improves the repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Base64 Encode Decode in C#

2 participants