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.
Related
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
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.
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.
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 8 years ago.
Improve this question
Is it possible to do selective formatting in a text box i.e. I actually wanted to change the color of mobile numbers in order to the status of DND?
This may be an overkill, but take a look at the RichTextBox class. Here is a nice tutorial.
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 8 years ago.
Improve this question
I'm using Asp.net and C#, I need create and UNDO feature for a webspace.
I would like to know wich Collection is most appropriate.
Array, HashTable, Dictionary?
Since you would want to undo the commends in the reverse order of when they were performed a Stack<T> would suit your needs. You can then push the commands on the stack when you've performed them and pop them when you wish to undo