I have a synchronous method, in it I call another method of another controller that would have to be executed asynchronously.
I call this another method this way:
Task.Run(() => _notificacaoController.NotificacaoIosTodos(titulo,
c...
I'm trying to make a condition where I would check if there is a value in List , so I created the following:
private void Itens_Edit(object sender, EventArgs e)
{
if(editar == 1)
{
int a = Convert.ToInt3...
I wanted to know what are the possibilities (but which is the most appropriate) to do an interface cast.
public class ClasseTeste1 : IMinhaInterface { ... }
public class ClasseTeste2 : IMinhaInterface { ... }
See in the example that I'm usi...
I have a Table in a Web Form in ASP.NET and just below in the same form I added a TextBox in which you fill in the fields to add a new row to the Table. The insertion part in the table works fine, but only once the second time I try to add anoth...
I need to put the text R $ in textbox so that it is in the following format:
R $: 1,200,58
I'm trying the following unsuccessful ways:
textbox1.Text = Convert.ToDouble(textbox1.Text).ToString("C");
and
textbox1.Text = De...
Good afternoon. I would like to know how to search for a given string anywhere in the list. Ex .: string "123". It can be in Pessoa.id , Pessoa.Nome , Endereco.id , Endereco.Rua or Endereco.CEP ;
List of People...