Linked Questions

2 votes
1 answer
54 views

Hello everyone I am fairly new to C# and programming. I'm learning some bits and bytes about good practices when it comes to programming and declaring variables. I'm developing a POS system in C# and ...
user avatar
-3 votes
4 answers
97 views

i am unable to understand the using syntax of c#. i have seen many code snippets using code like. using (StreamReader rdr = File.OpenText("file.txt")) { //do stuff } What is the meaning of that ...
Madu's user avatar
  • 5,059
-3 votes
1 answer
82 views

How do these two different implementations effect performance or how objects are allocated in memory? using (ICryptoTransform encryptor = AES.CreateEncryptor()) { byte[] cipherBytes = encryptor....
Ben's user avatar
  • 2,267
-1 votes
3 answers
74 views

so I'm having trouble with the program recognizing the values of my array elements (The name 'a' does not exist in the current context) , plus i can't get line.split to work(I need it to read the next ...
JustasRatke's user avatar
1 vote
1 answer
55 views

private string GetFileContent(string path) { if(File.Exists(HttpContext.Current.Server.MapPath(path))) { FileStream fs=null; try { fs = new FileStream(...
Ravali 's user avatar
1 vote
1 answer
67 views

I am working on website and I want upload data to a database that I have connected to in app.aspx.cs I am encountering the below error every time I start the app: Error CS0149 Method name ...
Ahmad Zaaterah's user avatar
0 votes
2 answers
44 views

I keep getting this error whenever I do the search: Invalid column name 'datafromcombobox' I tried hardcode the data in my SQL query and it works. Any idea what's wrong with my code? Here's the ...
user3195396's user avatar

15 30 50 per page
1
3 4 5 6
7