340,756 questions
-13
votes
3
answers
373
views
How do I extract each folder name from a path? [closed]
How do I extract each folder name from a path if I don't know how many folders there are in the path and I don't know the folder names?
-13
votes
2
answers
849
views
C# How do I append code to the end of a running .NET .EXE, preferably from inside that .EXE?
Can a running .NET .EXE append data to itself? What's stopping it?
I could launch a separate process to do it just fine.
But I can't figure out how to write to itself while it's running. Is there ...
-13
votes
1
answer
16k
views
Winforms C# pass variable between forms [duplicate]
How do i pass name value from Form1 to Form2?
Form1
public partial class Form1 : Form
{
public string name = "xxx";
}
Form2
public partial class Form2 : Form
{
private void ...