© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
3 replies
Jexs(ping me)

Why isnt it outputting the same

im following this https://wpf.2000things.com/2014/07/01/1105-using-applications-windows-collection-to-interact-with-other-windows/

i looked up the error on ms docs and what i think im doing wrong is that im not referencing something but im not sure what to referense
error:
'OtherWindow' does not contain a definition for 'OtherWindow' and no accessible extension method 'OtherWindow' accepting a first argument of type 'OtherWindow' could be found (are you missing a using directive or an assembly reference?)

msdocs:https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1061
image.png
image.png
image.png
image.png
2,000 Things You Should Know About WPFSean
#1,105 – Using Application’s Windows Collection to Interact wit...
You can use the Application object’s Windows property to get a list of all active windows.  If you then cast to your specific subclass of Window, you can interact with the various child windo…
#1,105 – Using Application’s Windows Collection to Interact wit...
Compiler Error CS1061 - C# reference
Compiler Error CS1061
Compiler Error CS1061 - C# reference
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

❔ It keeps outputting only true
C#CC# / help
3y ago
✅ Why is this not outputting anything?
C#CC# / help
2y ago
❔ Why isnt it working? its supposed to say Kniffel when i have the same 5 numbers selected
C#CC# / help
3y ago
❔ why this function isnt trrigering
C#CC# / help
3y ago