say | huohuo fanatics
say | huohuo fanatics
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Easiest way to make it thread safe. Maybe i should rethink it
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Reference type
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Anyway txn
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Man this made me wish c# doesnt allow null by default
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Hmm right
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
I want user to create new instance by themselves to modify the field
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
but my class have many field, it would require adding Add/Edit/Remove method for every single field wont it ?
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Yes
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
I mean,it is immutable, the only way to modify immutable class is to create new instance of it
25 replies
CC#
Created by say | huohuo fanatics on 10/17/2024 in #help
fastest way to check if list doesn't contain null ?
Hmm right, maybe i can add a second public constructor with additional parameter to older instance so that if user doesn't modify the list, it will get the list from the older instance instead and avoid the check. Is this a good design ?
25 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
Okay i got the idea now, thanks
17 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
Oh i see, okay thank you
17 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
So i can make changes to adhoc, but it wont save the changes to the file?
17 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
So it cannot write to file basically?
17 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
Yea
17 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
Okay thank you, but what does it mean by "does not persist changes"?
17 replies
CC#
Created by say | huohuo fanatics on 9/19/2024 in #help
Whats the difference between Workspace and AdhocWorkspace?
The only description about AdhocWorkspace in learn.microsoft.com is that it allows full manipulation and does not persist changes, but i have no idea what that mean
17 replies
CC#
Created by say | huohuo fanatics on 7/24/2024 in #help
where can i learn roslyn compiler api in easier manner?
Still waiting answer here if anyone know easier way to learn than randomly browsing the internet
17 replies
CC#
Created by say | huohuo fanatics on 7/24/2024 in #help
where can i learn roslyn compiler api in easier manner?
Okay thanks
17 replies
CC#
Created by say | huohuo fanatics on 7/24/2024 in #help
where can i learn roslyn compiler api in easier manner?
better than nothing i guess
17 replies