I was coding something and had some code to tell the user to press enter to continue. I did not want to keep writing it, so I copy and pasted it. However, this made my code go wonky. I had a switch later in the program and I was testing it out making sure it worked. I had copied and pasted the code after the switch, and this is where it gets weird... every time I ran it, it would go back to where I copied the code from and rerun the switch. I don't know why it happened but I fixed it by manually rewriting part of it.
For clarification all the code was:
Console.WriteLine("Press enter to continue");
I was coding something and had some code to tell the user to press enter to continue. I did not want to keep writing it, so I copy and pasted it. However, this made my code go wonky. I had a switch later in the program and I was testing it out making sure it worked. I had copied and pasted the code after the switch, and this is where it gets weird... every time I ran it, it would go back to where I copied the code from and rerun the switch. I don't know why it happened but…1 vote
static (int, int) Foo(int i)
return (i+2, 1*2);
Current "result" :
Predefined type 'System.ValueTuple`2' is not defined or imported
To compile (and work of course :-)
This includes updating "4.7.2" "Compiler" to accept C# 7.x and at least linking the proper dll with ValueTuple-a for "Roslyn 2.0"1 vote
Why would you make a Nuget Header Directive available for C# but not for VB.Net?1 vote
It would be nice to have a user page that lists the Fiddles that we have created. A main page of sorts.1 vote
Sometimes I need to check a code that works with local timezone which should be different from UTC. It would be great to have an ability to specify timezone in that cases. Thank you!4 votes
Such as controller or class or new .cHTML ...1 vote
Change the text color with Console.ForegroundColor
That the code can be used:
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.ForegroundColor = ConsoleColor.DarkRed;
Console.WriteLine ("World");3 votes
Please add this, at least as an option. Otherwise we can lose work. Thank you!3 votes
some class libraries loaded from nuget need setting assembly attributes located in assemplyInfo.cs otherwise it fire an exception, like:
[assembly: AssemblyCompany("Company xyz")]
[assembly: AssemblyCopyright("Copyright © 2018 Company xyz")]
Enable setting these attributes in assemplyInfo.cs1 vote
Allow the usage of debugging such as stepping into a function, out of a function, run, memory mapping, local variables and the whole nine yards. It is vital if you don't want users to write constantly Console.WriteLine() statements.
Kindly, add debugging!4 votes
Please enable vim key bindings. VsVim is one of the most downloaded Visual Studio extension, which is an indication of Vim key binding's popularity among .net devs.3 votes
For example: I define a class Person in a fiddle named PersonClass.
Then I base a new fiddle PersonUseExample on existing fiddle PersonClass, so I don't need to declare the class again, just démonstrate how I can use it.
The idea is probably easier to implementis but similar to the exiting request: https://dotnetfiddle.uservoice.com/forums/228764--net-fiddle-ideas/suggestions/6056568-allow-multiple-files-for-console-projects3 votes
When try to add nuget package System.Text.Encoding, keep receive error in browser console: common:Uncaught Error:
Uncaught Error: Incorrect version name
at Object.n.addPackage (common:1)
at HTMLAnchorElement.<anonymous> (common:1)
at HTMLBodyElement.dispatch (jquery:1)
at HTMLBodyElement.y.handle (jquery:1)1 vote
On top of each fiddle, it says "by <author's user name>". The author's username should be a link to take the user to all his/her fiddles.2 votes
Why is the list limited to 10 fiddles? We should be able to see all of them, or at least have a page size option.6 votes
Monaco-editor is MIT licensed and made by Microsft.
It's the same text editor used in VSCode, and it is open source!
It also has many interesting features like code diff and editor customization.28 votes
- Don't see your idea?