I have a base class:
public class MinhaClasse<T> : Controller where T : class
{
public List<T> BuscarVarios(string nome)
{
return db.Set<T>().Where(/*?????*/);
}
}
How do I use cloister Where whe...
I currently make multiple HTTP / HTTPS requests for distinct sites using the HttpWebRequest and HttpWebResponse classes using .NET Framework 4.0. We are experiencing a problem when a moment arrives we can not acquire SSL / TLS conn...
I'm having a small problem getting a value of an attribute of type class .
Person Class
public class Pessoa
{
public string Nome {get;set;}
public int Idade {get;set;}
public virtual void Add()
{...
I have a project in Asp.Net MVC where I would like to convert an HTML string to RTF on the Controller.
I have tried the following ways:
Source 1
using(var webBrowser = new WebBrowser()){
webBrowser.CreateControl();
webBrowser.Doc...
I am doing studies in C # and MySql.
I created a combobox called Marca and another call Modelo .
I want to run the fipe api to search for makes and models of vehicles. There is this address below informing you how to consu...
Structure turma
Public id_turma As Integer
Public nome_turma As String
End Structure
Structure Disciplina
Public id_disciplinas As Integer
Public nome_disciplina As Integer
End Structure
Public Class F_Contentor
Dim turmas()...
How to create a header with the logo and menu, and a footer with some information, and this header and footer / em> are the same for all pages? CTRL + C / / CTRL , because if I change some item, page. Is this possible?
Can I use a static property without sharing values between different users?
More or less like Session ?
Ex: scenario:
private static double valorRetorno;
public CalculaValor()
{
valorRetorno = //recupera valor do cliente
}
pub...
I have not the slightest idea how to remove a specific data from a stack. I tried to minhaPilha.remove(); and it did not work.
Console.WriteLine("<Pilha>");
Stack<string> minhaPilha = new Stack<string>();
Console.Write...