Posts by Medium • 163 points
7 posts
-
2
votes1
answer56
viewsQ: How to make a condition with operators "+", "-", "*","/"
I have the following code: print ("Primeiro Valor: "); $valor1 = <STDIN>; print ("Segundo Valor: "); $valor2 = <STDIN>; print ("Operador: "); $op = <STDIN>; if ($op == "+") {…
-
0
votes5
answers1114
viewsA: Save Combobox C# values to database instead of descriptions
Well from what I understand of the question you want a code like this string escolha; if (comboBox1.Text == "Limitado") { escolha = "L"; } else if (comboBox1.Text == "Total") { escolha = "F"; } Then…
-
5
votes2
answers252
views -
1
votes1
answer36
viewsQ: String.Content How to Not Case Sensitive
Well I have a string where I want to search for a word but not case sensitive Example: string tt2 = "teste amanha de manha"; string pp = "Amanha"; if (tt2.Contains(pp)) { //Não entra na condição…
-
1
votes1
answer41
viewsQ: Detect when there is rotation of Windows tablet screen
How do I identify when there was a rotation of the Windows tablet screen?
-
2
votes1
answer3878
viewsA: c# how to use the POST method with Restsharp
My problem was not having the "user" before the beginning of the JSON code and the Addparameter was wrong. var client = new RestClient("link"); var request = new…
-
1
votes1
answer3878
viewsQ: c# how to use the POST method with Restsharp
I have a code to log in, but when I send the correct data the API continues to send the code "Unauthorized". The code is as follows:: var client = new RestClient("link"); var request = new…