bialasik__
bialasik__
CC#
Created by bialasik__ on 3/9/2023 in #help
❔ I am trying to make a simple game in C# console.
If you want the gameobject or vec class i can post that too
3 replies
CC#
Created by big willy on 1/23/2023 in #help
❔ c# hw help
fr 💀
6 replies
CC#
Created by bialasik__ on 1/10/2023 in #help
❔ LinkedList
I need to get names from a list and add them to a LinkedList<> without using Sort() or OrderBy()
5 replies
CC#
Created by gh0st-sniper on 1/4/2023 in #help
❔ how do I select a specific text from the file and delete it and it's corresponding contents in C
string path = @"...";
string line = String.Empty;

while((line = reader.ReadLine()) != null)
List<string> lst = File.ReadAllLines("Data.txt")
.Where(arg => !string
.IsNullOrWhiteSpace(arg))
.ToList();
lst.RemoveAll(x => x.Split('.')[0].Equals(name));
File.WriteAllLines(path, lst);
}
string path = @"...";
string line = String.Empty;

while((line = reader.ReadLine()) != null)
List<string> lst = File.ReadAllLines("Data.txt")
.Where(arg => !string
.IsNullOrWhiteSpace(arg))
.ToList();
lst.RemoveAll(x => x.Split('.')[0].Equals(name));
File.WriteAllLines(path, lst);
}
3 replies
CC#
Created by Valrus on 12/30/2022 in #help
❔ Start learning
and probably learn some physics 😅
11 replies
CC#
Created by Valrus on 12/30/2022 in #help
❔ Start learning
yh get used to the .NET framework, preferably with console projects, and then learn the unity framework
11 replies
CC#
Created by bialasik__ on 12/27/2022 in #help
❔ Lexer and parser, cannot get expressions to formulate as they should, have a look at the output...
I'll see
8 replies
CC#
Created by bialasik__ on 12/27/2022 in #help
❔ Lexer and parser, cannot get expressions to formulate as they should, have a look at the output...
Should I use a Stack<>
8 replies
CC#
Created by bialasik__ on 12/27/2022 in #help
❔ Lexer and parser, cannot get expressions to formulate as they should, have a look at the output...
Yes
8 replies
CC#
Created by bialasik__ on 12/23/2022 in #help
❔ Linux Mint .NET is installed but cmds such as run, new console, etc. are not recognised...
first time linux user
6 replies
CC#
Created by bialasik__ on 12/23/2022 in #help
❔ Linux Mint .NET is installed but cmds such as run, new console, etc. are not recognised...
how'd i do that?
6 replies
CC#
Created by bialasik__ on 12/23/2022 in #help
❔ Linux Mint .NET is installed but cmds such as run, new console, etc. are not recognised...
huh
6 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
alr
21 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
thank you
21 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
never knew about that operator
21 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
ahhh
21 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
i normally do char.Parse and never get that warning in vs2022
21 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
yh i do this in vs2022 and i get no warning, but when i had to switch to vscode it throws this
21 replies
CC#
Created by bialasik__ on 12/7/2022 in #help
❔ Dereference of a possibly null reference.
i tried setting the char choice = ' ', but i still get it and cannot find solutions online
21 replies
CC#
Created by bialasik__ on 11/17/2022 in #help
What is the difference between these two methods? Using params or just doing everything in one class
ty
7 replies