Visual Studio problem with C# double operation [closed] - c#

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

Related

Update to VS ver 2012 - 11.0.50727.1 errors [closed]

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 6 months ago.
Improve this question
We recently upgraded to 2012 Visual Studio 11.0.50727.1 (update 5). We need to keep 2012 because in later versions, the C# statements do not work (like obj["Click"] ()).
So when I brought it up I got a message that SccProviderPackage did not load correctly (see image). IT said I could probably ignore this, as it is not used.
But then when I opened my projects there was a problem. I can still see the Solution Explorer on the right (see image). But on the left where there used to be the tests I can run there is nothing. Not even a menu. I looked through the View menu to see if there was a way to show it, but I could not find anything.
Could this be a problem from that error, or some other kind of error?
BTW this is on Windows 10.
error loading
I needed to do a Ctrl + E, T to get the menu to appear

There was an error activating the remote language server, C# language [closed]

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 months ago.
Improve this question
After downloading devExpress extension, I got this error. But I don't know how to fix it. Please help me, thank you so much.
My problem
My .xml file is on mediafire.
I had this error. It disappeared after I logged in to VS, then restarted the program.
The one and only solution that worked for me is to update the visual studio to the latest version and boom!
I've had this error in the comupter of one of our collaborators. I've just sent these files from my computer to him. So he's replaced the files in his machine and the problem was solved. I think this way we've avoided to spend hours to update Visual Studio.

C# Ton of Errors [closed]

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.

How to stop Google Chrome from placing a forward slash when searching for c# related questions? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am wondering if there is a way to stop Google Chrome from adding a forward slash by default when I am searching for c# related queries. For example if I type:
"c# how to"
as a search term in the search bar it will default the search to:
"c/# how to" which returns an error.
This happens every time I start a search term with c# so I am wondering if anyone knows how to stop this from happening? Thanks.
This is a known bug in Chrome that has been fixed in a recent update (Nov 4 2014) but won't be pushed out until the next minor release (which could be a month or two). You can switch to the Dev channel of Chrome and pick up the update now.
See https://code.google.com/p/chromium/issues/detail?id=409845 for more details.

IE error message: "This website has been reported as unsafe" [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have written a site in C# asp.net and I am running it of IIS7.5.
Site works perfectly well with other browser than IE9 and IE10. In these browsers i get this error message:
http://imageshack.us/photo/my-images/16/unsafefilterss.png/
The site is http://filterss.net
I am kinda at a loss and I do not really know what I need to change in my programming to make this warning go away. Anyone has any experience with this error?
The obvious question is: "Have i programmed inn malicious software on my site?", No, i have not. Can my programming be exploited? well, yes i would think so, since there is no 100% safe way of coding.
Is there then any concrete reason for this message to appear? Anything that i can change in my code so that it will go away?
The only thing i can think of at the moment is that you have torrents in your meta keywords tag

Categories