Exactly as with any other type:
struct Student { }
Student Impulse() {
Student student = new Student();
student.FullName = "Vasiliy Ivanovich Pupkin";
student.Html = "How knows what the hell is that?";
}
But reasonable people do something like this:
struct Student {
internal Student(string fullName, string html) { FullName = fullName; Html = html; }
internal string FullName;
internal string Html;
}
Student Impulse() {
return new Student("Vasiliy Ivanovich Pupkin", "How knows what the hell is that?");
}
Well, after 35 questions asked on CodeProjects… (sigh)…
I guess you need completely different thing. This:
Microsoft Q209354.
No offense, OK? You really need exactly that.
Good luck, товарищ,
—SA