Частичная структура делится на а .dll и локальный файл.cs
In WPF with C# i use a partial structure that happened as a parameter in many functions. A part of the structure is in the Comun.cs file that is compiled in Comun.dll and contains general variables to all the programs. The other part of the partial structure is in a Local.cs file and contains variables specific to each program. I have put this file in App_Data. When compiling with VS, in the places where i refer to the Local.cs variables, the program tells me that the variables are not recognized. I need to be able to compile the final program so that it recognizes all the variables.I have read that there is a partial interface but I do not know if it is useful for this. Comun.cs -> Comun.dll public partial struct St_Gen { public int Languaje; } Local.cs public partial struct St_Gen { public int LocalVariable; } 2.- Another problem is that I can not find the documentation on the structure of the WPF directories. Ex: App_Data what is it for ... 3.- another problem is that it is difficult to find code from other developers in WPF. ¿why? ¿Do you know any site besides codeproject? 4.- Why are there no examples of current WPF codes? Almost all are old. 5.- Working in C # What is more advanced than WPF? Thanks
Что я уже пробовал:
What have you tried?
What have you tried?