© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
22 replies
JJ

❔ how to use List that have struct type ( WPF)

public struct Linq
{
public Window win;
public TextBox textBox;
}


private void newWindow()
{
Window win = new Window();
TextBlock t = new TextBlock()
List<Linq> a = new List<Linq>();
a.Add(win, t);
}

I wanna input struct Linq (TextBlock and Window class object) to List
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

WPF List
C#CC# / help
3y ago
❔ Creating WPF list
C#CC# / help
3y ago
WPF how display a list of properties
C#CC# / help
3y ago
✅ WPF UI (lepoco/wpfui) Questions
C#CC# / help
2y ago