I have a class Student with properties sub1,sub2, and sub3. I want to access those properties using a loop by concatenating the property name with an ...
I have a class Student with properties sub1,sub2, and sub3. I want to access those properties using a loop by concatenating the property name with an ...
haven't posted on here before but I have been trying for a while to create a game and would like a death/game over sort of scene to appear when the pl ...
I have a variable fileContent which holds the value of FileName. I want the filename value to be stored in separate variable. How can I do this using ...
This Is My Codding i have face this type of error in my code (Exception thrown: 'System.Data.SqlClient.SqlException' in System.Data.dll Additio ...
I am trying to open my old project developed in VS 2010 and dot net framework 2.0 when i open design view I get this error how to resolve this issue ...
I wanted to give making a blockchain a try so I looked for resources for making a blockchain in C#. I cam across a project called Nblockchain that is ...
hello to all i just started with c # and want to write a code for school project a mailer basically I want to send mails to all the emails saved in a ...
I can't copy exact code so this will be an example: Let's say we have a class Car with Name and Type. I get some values from an input, which I put ...
my o/p:Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at HelloWorld.Main (System.String[] args) [0 ...
I cannot get this to work, its close, but not working :D My logic here seems to be a bit off, can someone help me out? What i am trying to achieve is: ...
I change Layout by default in _ViewStart.cshtml But it is layout does not work. _Layout is working. Then I delete _Layout and get error: Inval ...
I have 2 directories ..I need to check that in two directories the files exist is same or not..if there is difference in files then move that files fr ...
I have game when you are destroying boxes with ball witch you are bouncing with platform (standard 2d game). And I have power ups that are spawning an ...
What I am trying to do in my game is when the ball destroy box its makes random number for spawning different power ups I did random chanses but I don ...
I am trying to do when i destroy all boxes something happen. My code is; } But it doesn't work. It is suppose to do when I broke 1 box it sends me ...
I am trying to make title screen when i press a button. It goes when i press the button game stops with Time.timeScale = 0f; and I am trying to do is ...
Here is what I have so far, it is set up to display the total number of words, which I need to keep, or modify to keep to allow the average number of ...
The following is a 2D array of vectors in Python: How can I rewrite this into C#? ...
How to convert seconds output to Minutes: Seconds Format? I want to do this using this code. I can see only seconds. Just want to display Min:Sec t ...
i have a c# console program .Im using .net 2.0 . Im launching an exe from my console program. That exe shows progress bar on taskbar. Here i want to ...