This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace bytehide | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine($"First{Environment.NewLine}Second"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace bytehide | |
{ | |
class Program | |
{ | |
public static readonly string Url = "bytehide.com"; | |
static void Main(string[] args) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace bytehide | |
{ | |
class Program | |
{ | |
public static readonly string Url = "bytehide.com"; | |
static void Main(string[] args) | |
{ | |
Url = ""; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace bytehide | |
{ | |
class Program | |
{ | |
public static readonly string Url = "bytehide.com"; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StringBuilder toolsBuilder = new StringBuilder();foreach (var tool in bytehideTools) | |
{ | |
toolsBuilder.Append(tool); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string connectionString = | |
"datasource=dev.bytehide.com;port=3306;username=root;password=secret;database=test;"; | |
MySqlConnection databaseConnection = new MySqlConnection(connectionString); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public readonly struct Measurement | |
{ | |
public Measurement() | |
{ | |
Value = double.NaN; | |
Description = "Undefined"; | |
} | |
public Measurement(double value, string description) | |
{ |