ParaLogia
ParaLogia
CC#
Created by Jexs on 8/6/2024 in #help
How would you read this outloud or put it into a sentence?
It's harder to parse that back into code ofc
16 replies
CC#
Created by Jexs on 8/6/2024 in #help
How would you read this outloud or put it into a sentence?
Not sure if you're accepting different answers, but I just read what I see: For int i equals 0, i less than 10, i plus equals 2. Console write line even numbers plus i.
16 replies
CC#
Created by hugi on 8/6/2024 in #help
child/parent class, how do i 'mass define' child properties?
You could just define a constructor that copies all those properties
8 replies
CC#
Created by hugi on 8/6/2024 in #help
child/parent class, how do i 'mass define' child properties?
$code
8 replies
CC#
Created by steven preadly on 8/4/2024 in #help
✅ do using the lock object in the below code make seance?
What do you mean by "the other users"?
38 replies
CC#
Created by Gax on 8/1/2024 in #help
Simulating electricity flow in wire/component classes in a linked list like manner
Still 8V?
11 replies
CC#
Created by Gax on 8/1/2024 in #help
Simulating electricity flow in wire/component classes in a linked list like manner
I think some of us need help with the physics part in order to understand this... In your example, if the wire did connect back to Source2, what would the expected voltage be?
11 replies
CC#
Created by Kaenguruu24 on 7/31/2024 in #help
Determine the positions of nodes inside of a graph
If not, then it sounds like it's just a tree, which is a simpler case of planar graphs
28 replies
CC#
Created by Kaenguruu24 on 7/31/2024 in #help
Determine the positions of nodes inside of a graph
Can one node be the child of multiple distinct "parent" nodes? Like
B
/ \
A D
\ /
C
B
/ \
A D
\ /
C
28 replies
CC#
Created by MechWarrior99 on 7/23/2024 in #help
✅ Faster & thread safe random number generator?
lol
52 replies
CC#
Created by MechWarrior99 on 7/23/2024 in #help
✅ Faster & thread safe random number generator?
52 replies
CC#
Created by MechWarrior99 on 7/23/2024 in #help
✅ Faster & thread safe random number generator?
52 replies
CC#
Created by itsnotabbas on 7/22/2024 in #help
Trailing whitespace problem
Also it would be helpful to see the actual problem statement for context
4 replies
CC#
Created by itsnotabbas on 7/22/2024 in #help
Trailing whitespace problem
do you need the last newStr = newStr.TrimEnd();?
4 replies
CC#
Created by LeNoX on 1/11/2024 in #help
Getting a random number from 1 to 10
10 replies
CC#
Created by u41c on 9/18/2023 in #help
Instantiating a new object failed?
The error you posted says that it's in "InvItemDB.cs". Can you post the code from that file?
5 replies
CC#
Created by ParaLogia on 6/27/2023 in #help
❔ How to dynamically load a different version of an assembly in the NET Core shared framework
Update: I found out that System.Threading.Channels is part of the NET Core shared framework, so the issue is probably that the NET 6 project already had the 6.0.0 version loaded, unless I specified the 7.0.0 version via nuget. From my research, Assembly.LoadFrom uses the default AssemblyLoadContext, and each context is limited to loading one single version of a given assembly (name). So I'm considering two new approaches: 1. Using a custom AssemblyLoadContext 2. Using Assembly.LoadFile instead of Assembly.LoadFrom I'm not sure what the potential ramifications/pitfalls of these approaches are, so I'd appreciate if anyone can chime in with suggestions.
3 replies