5
I have a project to create a C# Smart Device for Windows CE. I received a code result reverse engineering, but there is a part that I am not able to understand or adapt. Below follows the code:
private string <codProduto>k__BackingField;
private string <funcionario>k__BackingField;
private string <estante>k__BackingField;
private string <armazem>k__BackingField;
private string <filial>k__BackingField;
public string codProduto
{
get
{
return this.<codProduto>k__BackingField;
}
set
{
this.<codProduto>k__BackingField = value;
}
}
public string funcionario
{
get
{
return this.<funcionario>k__BackingField;
}
set
{
this.<funcionario>k__BackingField = value;
}
}
public string estante
{
get
{
return this.<estante>k__BackingField;
}
set
{
this.<estante>k__BackingField = value;
}
}
public string armazem
{
get
{
return this.<armazem>k__BackingField;
}
set
{
this.<armazem>k__BackingField = value;
}
}
public string filial
{
get
{
return this.<filial>k__BackingField;
}
set
{
this.<filial>k__BackingField = value;
}
}
I have two questions:
- What this k__BackingField would be. I did a search on this "tag/property" and saw things about Json, deserialization and WCF. Only that reading them, I believe that it does not apply to the purpose of the project.
- According to what I was given, the system is in C# and the code I have is actually in C#, but it has the statements of the strings and then in the following it comes the objects between "< >". What would that be? At the time I imagined that it was the declaration of Arrays, but in C# the symbol is [ ].
Got it! That already explains enough rs... I got lost was with the Generics tag. Thanks :D
– Willian