There are the following Objects:
public class Objeto1
{
public List<Objeto2> PropObj1 {get; set;}
}
public class Objeto2
{
public List<Objeto3> PropObj2 {get; set;}
}
public class Objeto3
{
public int PropObj3 {get; set;...
I received an answer in my question that talks about an overhead that the object has. Every object has this overhead ?
Does an object with no data also have this overhead ?
Is there an object of size 0?
I have the following variable and would like to convert it to an integer list:
string variavel = "1,2,3";
Is there a way to convert it to a list of integers?
How can I separate "words" into CamelCase using hyphen for example?
With a string:
string example = "CamelCase";
// CamelCase para:
// Camel-Case
and enumerator:
enum Example {
CamelCase
}
Example.CamelCase.ToString();
// CamelC...
I have a Windows Service project in Visual Studio in C #, however, I need to install this project from lines of code, without using #
Is there any way to do this?
I've always used constructors as follows:
public MinhaClasse()
{
//Algo
...
}
However, I discovered that in C # it is possible to create a static constructor as follows:
public class MinhaClasse
{
public string Propriedade { get;...
We have a thermal printer that does not support graphics printing - in this case, I'll have to send simple texts for it.
Considering that our application will run on several different computers, each of them connected to a different printer a...