Is there a limit for using objects DispatcherTimer? [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
If yes, please, how many i can use?

An increasing number of threads doesn't necessarily lead to memory leaks. All objects consume some memory though and how many you can instantiate depends on your hardware and whether you are on a 32-bit or 64-bit operating system for example. There is no magic number.

Related

Store 2^256 big integer value in variable [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Is there a data type to store 2^256 big integer numbers in variables in C#? As far as I know it exceeds the limit of BigInt.
Assuming that you're talking about exact integers: BigInteger is arbitrarily large. However, it may also be possible to just use a quad of Int64, depending on the exact operations you need to perform.

What is the significance of [DataContract][Serializable] & [DataMember] in our model for EF Code First Approach? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Does this have any adverse effects on our CRUD operations?
Is there a significant difference if we don't use these attributes in our model?
Yes, there are a significant difference if you dont use the attributes.
See:
https://learn.microsoft.com/es-es/dotnet/framework/wcf/feature-details/using-data-contracts

Threadsafe dictionary that does lookups with minimal locking [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is it possible to implement a threadsafe dictionary with minimal use of locks if the only methods I want are tryget and insert? Entries will never be deleted and value for a key will always stay the same.
Take a look at System.Collections.Concurrent. It contains ConcurrentDictionary<TKey, TValue> which probably does what you're after.

How to guarantee that a Match 3 game is infinite [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
How does Match 3 developers guarantee that there will always be a possible choice and avoid "No more moves" situations?
A lot of times, they just tend to add in a shuffle feature whenever there are no more moves.
Bejeweled is a good example where, in certain modes, the player only has a certain amount of shuffles, and will lose once there are no more moves or shuffles.

how to make an GUI OS with C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to know how to make an GUI OS using C# (becuose it`s the language I know the best).
I would like to make it as most as my own.
I know that a good start is to to help to improve completed OS (like a Cosmos) but I would like to do that part of the job by myself. What have the done? How did they made that(boot and some more things)???That is a thing I don`t know.
An operating system usually takes years of work by a team of people. Moreover, you cannot do this with C#, as it's too high level to realistically facilitate the type of development you're talking about.

Categories

Resources