Posts by Sergio Caetano • 31 points
3 posts
-
2
votes1
answer205
viewsQ: Doubts about using Contains with Regex in C#
I would like to use in a code in C# the method Contains , but instead of spending one string literal, ie a specific word, pass a pattern or a regular expression as parameter. For example: Instead of…
-
0
votes1
answer1178
viewsQ: "Input string was not in an incorrect format" when filtering array
After sending a String that is a command keyword to my Arduino through the serial port, I’m trying to take values in a C#application, and a certain string and put them in two different arrays using…
-
1
votes1
answer1084
viewsQ: How to calculate numbers in a C#string
I have a string that the Arduino sends to my application through the serial port with the following format: variable = #value of ultrasound distance##value of ultrasound distance#...(with 10 samples…
c#asked Sergio Caetano 31