In this post I will teach you how to receive data from arduino. You need to have Arduino IDE, if you don’t have arduino IDE you can download of here. The firs step is write the next code, the code has comments: You should have somethin like this, and you press in arrow button toRead More
A hash function serves to become a string characters in other string characters with length fixed. below I wrote the code to use hash SHA1. You can use it like this: Remember to add the namespace in top in your class:
Some occasions we need to force a textbox to accept only numbers, that the user can’t key letters and with this add validation in user interface. The following code forces the user to only key a number, you shall click in the control and click in KeyPress and add the next code: If you wantRead More
I have written the next code to explain how to make the videogame Snake in C# .Net. The technology is C# .Net with windows forms. You can view the process in this collection video here but they have a issue, the collection video was explaining in spanish. If you want to download the code, youRead More
With this code you can edit your app.config file. If you use the ConfigurationManager class only change the value in memory. With this sample you can change the file. In the next code I edit the app.config file with the XmlDocument class and refresh all the new values. The code is commented.
In this video I will try to explain the properties in c # .Net.