Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C# Structs
#7
Thats what I have been doing. For example

Code:
int Num1 = 10;
int Num2 = 10;
int Total = 0;

Total = Num1 + Num2;
txtTest.Text = Convert.ToString(Total);

I was just curious about the .ToString part that you can select. Like txtTest.text.ToString. Im situated with that. I guess this will be my C# questions post lol. I know how to create files using the FileStreamer and StreamWriter and all that good stuff, also know how to create binary files now. however, in VB6 I could use App.path & "path". In C#, how do I set a file path just like in VB. More specifically, how to set the file path for stuff thats in the same location as the exe. Besides having to do like @"\C:\blah\blah...." Say I have a folder named Files, inside the same folder as my exe. how do I setup a filepath to that sub folder so I can write files inside of it?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)