Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
mrphil2105
Posts
Comments
C
C#
•
Created by PixxelKick on 4/13/2024 in
#help
nvim-dap + netcoredbg: Unit Test Breakpoints not getting hit (sometimes)
Can I have a look at how you set up unit test debugging? I am using Neovim too
11 replies
C
C#
•
Created by mrphil2105 on 4/1/2023 in
#help
❔ Upside Down?
Got 'em
7 replies
C
C#
•
Created by spicymemedragon on 3/22/2023 in
#help
❔ Programmatically created buttons - Editing WinForms
I'd suggest not using WinForms and use WPF which has the
ItemsControl
which is perfect for a list of controls based on list of data.
4 replies
C
C#
•
Created by maria 🌟 on 3/10/2023 in
#help
✅ how i can compute hash async
The thread pool can be starved of all threads if you perform too many long running operations
70 replies
C
C#
•
Created by maria 🌟 on 3/10/2023 in
#help
✅ how i can compute hash async
Not necessarily
70 replies
C
C#
•
Created by maria 🌟 on 3/10/2023 in
#help
✅ how i can compute hash async
No. Tasks don't run
70 replies
C
C#
•
Created by maria 🌟 on 3/10/2023 in
#help
✅ how i can compute hash async
It isn't designed for long-running operations
70 replies
C
C#
•
Created by maria 🌟 on 3/10/2023 in
#help
✅ how i can compute hash async
Don't use Task.Run if the hash function runs for more than like 100 ms
70 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
👍
17 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
What you are doing now is accessing something on null, not valid
17 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
Foo being Card here
17 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
for
(
int
i
=
0
; i
<
arr.Length; i
++
)
{
arr[i]
= new
Foo
();
}
for
(
int
i
=
0
; i
<
arr.Length; i
++
)
{
arr[i]
= new
Foo
();
}
17 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
So you need to go through the array and initialize
17 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
The default value of a class (aka reference type) is null
17 replies
C
C#
•
Created by baykkz on 12/21/2022 in
#help
❔ Null instance in Array of Classes
When you new up an array you get an array of the default value
17 replies
C
C#
•
Created by asianaf on 12/7/2022 in
#help
❔ I'm not sure what I'm doing wrong
depends on the value before Load
30 replies
C
C#
•
Created by asianaf on 12/7/2022 in
#help
❔ I'm not sure what I'm doing wrong
Uhhh well that could be unnecessary yes
30 replies
C
C#
•
Created by asianaf on 12/7/2022 in
#help
❔ I'm not sure what I'm doing wrong
I am sorry for you
30 replies