Results 1 to 4 of 4

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Junior Member

    Join Date
    Jan 2015
    Country
    Posts
    335
    Thanked
    206
    Thanks
    291
    I had issues with this too, don't know how to fix this
    but in that particular example you could just do
    Console.WriteLine(wormsLength:F2) couldn't you

    I experienced those issues when doing e.g. $"hi {day == 1 ? variable : variable (heres when it would mess up)} hi"
    to solve that you could just do "hi " + day == 1 ? variable : variable + " hi", although it probably isn't preferable...
    Last edited by Skilly; 07-24-2017 at 05:54 PM.

  2. The following user said thank you to Skilly for this useful post:

    Canpai (07-24-2017)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)