GlitchYourDevice
❔ is there any way i can run my csharp console app net framwork program executable on my gpu?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Globalization;
using System.Runtime.CompilerServices;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
string filepath = @"D:\text1.txt";
string filepath2 = @"D:\text2.txt";
List<string> lines2 = File.ReadAllLines(filepath2).ToList();
HashSet<string> lines = new HashSet<string>(File.ReadAllLines("D:\text1.txt"));
for (int j = 0; j < lines2.Count; j++) { if (lines.Contains(lines2[j].Split(':')[0])) { Console.WriteLine(lines2[j]); } } Console.WriteLine("\nDone"); Console.ReadLine(); } } }
for (int j = 0; j < lines2.Count; j++) { if (lines.Contains(lines2[j].Split(':')[0])) { Console.WriteLine(lines2[j]); } } Console.WriteLine("\nDone"); Console.ReadLine(); } } }
75 replies
❔ is there any way i can run my csharp console app net framwork program executable on my gpu?
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Globalization;
using System.Runtime.CompilerServices;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
string filepath = @"D:\text1.txt";
string filepath2 = @"D:\text2.txt";
List<string> lines2 = File.ReadAllLines(filepath2).ToList();
HashSet<string> lines = new HashSet<string>(File.ReadAllLines("D:\text1.txt"));
for (int j = 0; j < lines2.Count; j++) { if (lines.Contains(lines2[j].Split(':')[0])) { Console.WriteLine(lines2[j]); } } Console.WriteLine("\nDone"); Console.ReadLine(); } } }
for (int j = 0; j < lines2.Count; j++) { if (lines.Contains(lines2[j].Split(':')[0])) { Console.WriteLine(lines2[j]); } } Console.WriteLine("\nDone"); Console.ReadLine(); } } }
75 replies