zxa4fd
zxa4fd
CC#
Created by zxa4fd on 4/19/2024 in #help
Can someone explain why these nested `using` is different from the ordinary one?
I think they are. I remember that some streams were not behaving correctly if I don't use the second one. I think they have different scopes?
11 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
I understand, thank you
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
Okay, I think I get it in that example 👍
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
How does the immutable list help with adding elements?
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
Okay, I get how the locks work
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
Will it be possible with ImmutableList? Can we get an example of what will happen to a normal List if two threads add to it vs. using ImmutableList?
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
That's what I don't understand
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
What would happen if 2 threads can do it at the same time?
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
I mean immutable vs mutable collections?
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
Will it be possible to get an example with collections involved? I'm not really sure if the example above is thread-safe
40 replies
CC#
Created by zxa4fd on 10/18/2023 in #help
✅ Can anyone give example code of using an Immutable Data Structure for Concurrency?
I'm still trying to understand the explanation 😆
40 replies
CC#
Created by zxa4fd on 7/15/2023 in #help
❔ How to deploy asp.net sites to Docker IIS?
Okay, I searched. Will check the examples thanks
41 replies
CC#
Created by zxa4fd on 7/15/2023 in #help
❔ How to deploy asp.net sites to Docker IIS?
I actually mean the old ASP.NET 🤣
41 replies
CC#
Created by zxa4fd on 7/15/2023 in #help
❔ How to deploy asp.net sites to Docker IIS?
How do we deploy to a docker container for IIS?
41 replies
CC#
Created by zxa4fd on 11/5/2022 in #help
When should we use immutable data structures?
Are there specific situations where we would need to avoid defensive copying?
3 replies
CC#
Created by zxa4fd on 10/26/2022 in #help
How does this delegate work?
10 replies
CC#
Created by zxa4fd on 10/26/2022 in #help
How does this delegate work?
10 replies
CC#
Created by zxa4fd on 10/26/2022 in #help
How does this delegate work?
NextInt doesn't seem to be IEnumerable
10 replies
CC#
Created by zxa4fd on 10/26/2022 in #help
How does this delegate work?
This NextInt property is used here in what seems to be LINQ:
public static Generator<bool> NextBool =>
from i in NextInt
select i % 2 == 0;
public static Generator<bool> NextBool =>
from i in NextInt
select i % 2 == 0;
May I know how this is working?
10 replies
CC#
Created by zxa4fd on 10/26/2022 in #help
How does this delegate work?
This seems correct; I thought NextInt was a function and not a field
10 replies