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 static string GetHebrewConcat(char[] charRange, string codeToPoint, Tuple<string, string, string> tupleOfStrings, string separator) | |
{ | |
string[] col_OfConcatValues = { }; | |
var charArr = tupleOfStrings.Item2.ToCharArray(); | |
int spins = 0; | |
foreach (char eChar in charArr) | |
{ | |
switch (HasHebrew(eChar, false, false, charRange)) | |
{ | |
case true: |
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 partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
private void Form1_Shown(object sender, EventArgs e) | |
{ | |
void updateUI() | |
{ |
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 partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
private static readonly string FilePath = Path.Combine(Application.StartupPath, "txt1.txt"); | |
private static readonly string ErrorLog = FilePath.Replace(Path.GetFileName(FilePath), "errorlog.log"); |
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 partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
public static readonly string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "mytext.txt"); | |
private void Button1_Click(object sender, EventArgs e) | |
{ | |
using (FileStream reader = File.OpenRead(path)) |
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 static readonly string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "mytext.txt"); | |
public static List<string[]> IEnum = new List<string[]>(); | |
private void Button1_Click(object sender, EventArgs e) | |
{ | |
using (FileStream reader = File.OpenRead(path)) | |
using (TextFieldParser iParse = new TextFieldParser(reader)) | |
{ | |
iParse.Delimiters = new[] { "," }; iParse.HasFieldsEnclosedInQuotes = true; | |
do |
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 List<Tuple<string, string, string>> rBinFiles = new List<Tuple<string, string, string>>(); | |
private void Button1_Click(object sender, EventArgs e) | |
{ | |
var recycleBin = @"C:\$Recycle.Bin"; | |
DirectoryInfo rBinInfo = new DirectoryInfo(recycleBin); | |
GetBinFileNames(); | |
foreach (List<Tuple<string, string, string>> t in GetBinFileNames()) | |
{ | |
t.ForEach((Tuple<string, string, string> name) => | |
{ |
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; | |
using System.Text; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Collections.Generic; | |
public class Test | |
{ | |
static ExecutionContext _ec; |
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 Microsoft.Win32; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Windows.Forms; | |
namespace TestCSharpApp | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() |
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; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Management; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace TestCSharpApp | |
{ |
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 Newtonsoft.Json; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Threading; | |
namespace TestConsoleApp | |
{ |
OlderNewer