.NET Fiddle Ideas

  1. Bug ?

    The same code gives different results in .NET Framework 4.7.2 & .NET Core 3.1

        var testValues = new string[] { "0", "+2", "-2", "+-" };

    Console.WriteLine(string.Join(", ", testValues.OrderBy(sv => sv)));

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. On .NET Core, you cannot do Console.ReadLine() as it doesn't work on that platform for some reason

    On .NET Core, you cannot do Console.ReadLine() as it doesn't work on that platform for some reason

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. Support Myget as a source

    Support MyGet as a source for nuget packages, example:
    // @myget: mypackage -Version 2.7.0

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. Why some nuget packages can not be used in net core?

    Such as 'Def.1.1.1', which I successfully referenced but could not use.

    The error is:

    Compilation error (line 13, col 21): The name 'Def' does not exist in the current context.

    The site shows that the package is "on disk", but '/usr/nugetCache/def' does not contain 1.1.1.

    Is there a problem?

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. Support null check operators

    Allow the compilation of null check operators i.e. DataSet?.Tables.Count. Currently the "?" screws up everything and a compilation error is received:

    Code:
    System.Data.DataSet ds = null;

        if (ds?.Tables.Count == 0 || ds?.Tables[0]?.Rows.Count == 0)
    
    {
    Console.WriteLine("True");
    }
    else
    {
    Console.WriteLine("False");
    }

    Errors:
    Compilation error (line 8, col 10): Invalid expression term '.'
    Compilation error (line 8, col 11): Syntax error, ':' expected
    Compilation error (line 8, col 35): Invalid expression term '.'
    Compilation error (line 8, col 36): Syntax error, ':' expected
    Compilation error (line 8, col 46): Invalid expression term '.'
    Compilation error (line 8, col 47): Syntax error,…

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. mobile/desktop button

    Mobile/Desktop versions switch button is needed on main menu.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  7. Add System.Windows.Forms

    Some of my code uses System.Windows.Forms.BindingContext (i.e. non UI code) and I want to reference it dotnetfiddle.net

    Unfortunately I can't write using System.Windows.Forms; as I get the error Compilation error (line 2, col 22): The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)

    6 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  8. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. F# is broken

    F# is broken

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  10. Solution/Project Explorer

    I would like to be able to create projects that contain multiple files so that I can create tutorials to teach student.
    The MVC project type for example allows for multiple files. but they are all together on screen and I can't close one down to focus on say the controller.

    VS Code uses Theia https://www.theia-ide.org/index.html - Perhaps you could also use this in your UI?

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  11. Be able to include import a Github repository

    This would really help to make samples of bugs / issues in a repository. One could import all the files of a repository, then write a "Test" that fails and the owner of the repository could then check out why it fails easily.

    See for example me manually uploading the files in a competitors product:
    https://repl.it/@devedse/ErrorWhenLoadingJpgWithExif

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  12. Specify timezone for snippet

    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!

    7 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  14. Bring in proper C# 7 tuple deconstruction

    Simple test:

    static (int, int) Foo(int i)

    {
    
    return (i+2, 1*2);
    }

    Current "result" :
    Predefined type 'System.ValueTuple`2' is not defined or imported

    Expected:
    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"

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. Bug(?)

    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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. nuget header directive for vb.net

    Why would you make a Nuget Header Directive available for C# but not for VB.Net?

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. User main page

    It would be nice to have a user page that lists the Fiddles that we have created. A main page of sorts.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. Support adding new page

    Such as controller or class or new .cHTML ...

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

.NET Fiddle Ideas

Categories

Feedback and Knowledge Base