Is there a need to assign null to the object after its use?
In the example below right after using the list I have a method that takes a long time to run. Do I need to assign null to the list to optimize the application?
priva...
How to test private methods using Microsoft.VisualStudio.TestTools.UnitTesting and Moq
My test class looks like this:
[TestClass]
public class ClasseDeTeste
{
private MinhaClasseComMetodosPrivados _minhaClasseComMetodosPrivados;...
I'm starting my studies in C # with ASP.NET MVC today. I'm still adapting with some things I'm not used to seeing, because I know languages like PHP, Python and JavaScript.
I noticed that in a code that has already come ready, when starting a...
I have an application that will be running 24h / day the 7days / week, that is, it will always be running.
I need at a specific time, every day a method of this application is called.
It is very easy to get the entire code from a C # program using .NET Reflector.
Would it be possible for me to put the same security in a C # program as a program made in C ++? I found this answer in Stack Overflow in English but even in...
How do I update a specific element of a generic list by locating by ID and passing an updated object in its place, updating the name and email?
class Program
{
static void Main(string[] args)
{
List<Aluno> aluno = new Lis...
I have enum and would like to change the Description with Resource:
public enum SystemArea
{
[Description("Gestor")]
Gestor = 3,
[Description("Administrador")]
Administrador = 2,
[Description("Professor | Prof...