Stay
Stay
CC#
Created by Stay on 12/29/2022 in #help
✅ Prevent carriage return from being added in the new multi-line string literal?
Yep just found it, changed it to LF instead lf CRLF, thank your very much 😅
14 replies
CC#
Created by Stay on 12/29/2022 in #help
✅ Prevent carriage return from being added in the new multi-line string literal?
My bad then, any idea if that can be changed in Rider?
14 replies
CC#
Created by Stay on 12/29/2022 in #help
✅ Prevent carriage return from being added in the new multi-line string literal?
that... make sense
14 replies
CC#
Created by Stay on 12/29/2022 in #help
✅ Prevent carriage return from being added in the new multi-line string literal?
oh
14 replies
CC#
Created by Stay on 12/29/2022 in #help
✅ Prevent carriage return from being added in the new multi-line string literal?
I can prevent this by doing
var str = """
First Line
Second Line
""".Replace("\r", "");
var str = """
First Line
Second Line
""".Replace("\r", "");
But maybe there is a cleaner solution
14 replies
CC#
Created by Stay on 12/29/2022 in #help
✅ Prevent carriage return from being added in the new multi-line string literal?
I'm not reading a file, i have a multiline string like this
var str = """
First Line
Second Line
"""
var str = """
First Line
Second Line
"""
And it is adding \n\r after First Line
14 replies
CC#
Created by Stay on 10/10/2022 in #help
EF Core not fetching sub-entities by Id [Answered]
You are absolutely right. My bad
3 replies
CC#
Created by Stay on 8/20/2022 in #help
Store generic Func T inside a colletion [Answered]
108 replies
CC#
Created by Stay on 8/20/2022 in #help
Store generic Func T inside a colletion [Answered]
How do i mark this thing as solved? First time using discord threads
108 replies
CC#
Created by Stay on 8/20/2022 in #help
Store generic Func T inside a colletion [Answered]
Thanks, i'll use this solution then
108 replies
CC#
Created by Stay on 8/20/2022 in #help
Store generic Func T inside a colletion [Answered]
Oh i didn't know that
108 replies
CC#
Created by Stay on 8/20/2022 in #help
Store generic Func T inside a colletion [Answered]
(as far as i know)
108 replies
CC#
Created by Stay on 8/20/2022 in #help
Store generic Func T inside a colletion [Answered]
But MethodInfo requires an object[], which would box the struct behind IPacket
108 replies