Skip to content

Instantly share code, notes, and snippets.

using System;
namespace bytehide
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine($"First{Environment.NewLine}Second");
}
}
list = (from ds in dbContext.bytehideServices
join c in dbContext.customer on ds.customerName equals c.customerName)
where (ds.shield.number.ToLower().Contains(productLicense.ShieldNumber.ToLower()))
list = (from ds in dbContext.bytehideServices
join c in dbContext.customer on ds.customerName equals c.customerName)
Where (ds.shield.number.IndexOf(productLicense.ShieldNumber, StringComparison.OrdinalIgnoreCase) != -1))
using System;
namespace bytehide
{
class Program
{
public static readonly string Url = "bytehide.com";
static void Main(string[] args)
}
}
using System;
namespace bytehide
{
class Program
{
public static readonly string Url = "bytehide.com";
static void Main(string[] args)
{
Url = "";
}
using System;
namespace bytehide
{
class Program
{
public static readonly string Url = "bytehide.com";
static void Main(string[] args)
{
if (string.IsNullOrEmpty(Url))
Console.WriteLine ("This string is null or empty.");
using System;
namespace bytehide
{
class Program
{
public static readonly string Url = "bytehide.com";
}
}
StringBuilder toolsBuilder = new StringBuilder();foreach (var tool in bytehideTools)
{
toolsBuilder.Append(tool);
}
string connectionString =
"datasource=dev.bytehide.com;port=3306;username=root;password=secret;database=test;";
MySqlConnection databaseConnection = new MySqlConnection(connectionString);
public readonly struct Measurement
{
public Measurement()
{
Value = double.NaN;
Description = "Undefined";
}
public Measurement(double value, string description)
{