mardi 24 avril 2018

How To construct a object in JS which corresponds to an object in C#

I use .Net web API and i want to get the structure of my objects in C# and send it to the front so it can construct object exactly like the back.

But i don't know how to get the exact structure of my objects in C# ( the structure and the name of the attributes )

for example an object will be this kind of object

public class{
  private int a;
  private string b;
  private anAnotherObject c;
  private List<otherObjects> d;
}




Aucun commentaire:

Enregistrer un commentaire