Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I'm coding a Text-Based RPG currently, everything was going fine but then I guess I did something that destroyed my code, I'm not sure what I did but I now have 242 errors. My code is in a GhostBin File (Just a website where you can paste your code to show others):
https://ghostbin.com/paste/qp9k8
If anyone could find a reason as to why my code is all broken, help would be highly appreciated.
Thank you,
Anthony.
Remove line code
public class Inventory {
You can not define a class inside Main function.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 months ago.
Improve this question
I am a noob trying to learn c#. I was following a turorial and all was fine till I tried to replicate a "double operation" that was on the video. The problem was with the results. I dont know why, after I added the two numbers, the result that should be a double, results in a int that iscompletely wrong. (its not just the lack of the "dot" the operation is done incorrectly).
Am I such a dummy that I wrote the code incorrectly various times or is the Visual Studio lacking something? Can someone please help this noob here.
I think this is likely an issue with localisation. If you try entering 3,6 rather than 3.6 what do you get?
The system is treating it as 36, not 3.6
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I am trying to copy GameObject(enemy) in a circle radius around the player. I've got that part but i need to delete the original GameObject(The One that I am copying). I am thinking of somehow saving the one that I am copying but I don't really know. Please help.
If you actually delete it (destroy it), copy won't work.
You can:
copy it before deleting
disable the GameObject (go.setActive(false)).
Instantiate a new gameobject, instead of copying.
I found the answer! If you have the same problem, just deactivate the original object.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I created a Windows Installer package a few years ago and now I found out that there is a typo.
I can't find the source code of this dialog to fix this issue.
Is it maybe a known error in the "wix-toolset" or is there a way to fix this error?
That dialog isn't part of WiX. You need to find out where it's coming from (custom Windows Installer dialog or custom action) and fix it there.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
Wrote web api on asp.net. When accessing it, information about the server is displayed, how it can be removed.
Why did you close the question? It contains all the necessary information.
Go to the Controllers folder and look for the Home controller there you will find a method called by default Index delete that entry and remove the code from Views/Home/Index.html and Views/Shared/_Layout.html.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
Would you please give me solution due to play wav file with selected range time via C# ?
I used NAudio, but it seems not support this feature.
Thanks
This might be what you're looking for:
How do I create a seekbar in C#\NAudio Music Player?
It has audioFileReader.SetPosition() and audioFileReader.Seek() which you can use to set your range.