Salty
Salty
CC#
Created by Salty on 5/7/2024 in #help
WriteLine happening after Readline, why?
if (!file[i].Contains("Breakthrough pressure") & headerLine == 1 & dataStop == 0 & i - 2 > header_i)
{
//Console.WriteLine("found");
sw.WriteLine(Regex.Replace(file[i].Trim(), @"\s+", ","));
var plot_x = Regex.Replace(file[i].Trim(), @"\s+", ",").Split(",");

string ok = plot_x[0];
Console.WriteLine(ok);
Console.ReadLine();
if (!file[i].Contains("Breakthrough pressure") & headerLine == 1 & dataStop == 0 & i - 2 > header_i)
{
//Console.WriteLine("found");
sw.WriteLine(Regex.Replace(file[i].Trim(), @"\s+", ","));
var plot_x = Regex.Replace(file[i].Trim(), @"\s+", ",").Split(",");

string ok = plot_x[0];
Console.WriteLine(ok);
Console.ReadLine();
23 replies
CC#
Created by Salty on 6/16/2023 in #help
❔ Iteration over multiple objects at the same time
How do I iterate through several objects at the same time. Supposedly the objects have the same properties and I want to concat obj1.prop1 + obj2.prop1, obj1.prop2+obj2.prop2 etc etc
32 replies
CC#
Created by Salty on 4/28/2023 in #help
❔ Other PC Cant run published App
9 replies
CC#
Created by Salty on 4/28/2023 in #help
❔ I published a console app through VS - not trusted
I published a net 6 c# console app. On the other computer it can not be opened due to "trust"problems. The other computer is admin "locked''. Can I do something on my end during publishing to avoid such trust issues?
4 replies
CC#
Created by Salty on 4/23/2023 in #help
✅ Do not use top level statement, - tick after creation?
If i created a console app with the 'do not use top level statements' un checked, is it possible to check it after the app is created? I cant seem to find it
9 replies