Skip to content

Instantly share code, notes, and snippets.

// Make a specific assembly visible
assembly: InternalsVisibleTo("MyTestAssembly")]
<br>bytehideSecureFile.WriteAllText
("example.txt","The user Pedro has registered in https://bytehide.com","securepassword1234");<br><br>
<br>bytehideSecureFile.ReadAllText ("example.txt", "SecurePassword1234");
List bytehideTools = new List(){"Shield","Secrets","Linker"};
string tools = string.Empty;foreach (var tool in bytehideTools)
{
tools += tool; // Creates a copy of the string in memory
}
using System;
namespace bytehide
{
class Program
{
static void Main(string[] args)
{
int number = 1;
if (number == 1)
{
public void OldRequestMethod(string url)
{
// ...
}
public void NewRequestMethod(string url)
{
// ...
}
public void RequestMethod(string url)
{
// ...
}
var request = RequestMethod(requestUrl);
SlackChannel("bytehide", request, "get users");
using System;
namespace bytehide
{
class Program
{
static void Main(string[] args)
{
int number = null;
Console.WriteLine(number);
}
using System;
namespace bytehide
{
class Program
{
static void Main(string[] args)
{
int number = 1;
if (number == 1)
{
using System;
namespace bytehide
{
class Program
{
static void Main(string[] args)
{
int? number = null;
Console.WriteLine(number);
}
var bytehide = new
{
Name = "bytehide",
Email = "bytehide@mail.com"
};
var bar = bytehide with {Name = "Bar"};