© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
14 replies
ohm

ConnectionStrings passed from class to class

So, how does it work?

from here, the connectionstring is obtained without problems:

https://paste.mod.gg/nrvllbxtcqrq/0

but when this method is called from another method from here

https://paste.mod.gg/xccaugdrlvfw/0

it does not get the connectionstring, even just the processGameJson class when it's run it cannot get the connection string by itself, why?
BlazeBin - nrvllbxtcqrq
A tool for sharing your source code with the world!
BlazeBin - xccaugdrlvfw
A tool for sharing your source code with the world!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to refer to the mainwindow class from another class.
C#CC# / help
2y ago
❔ How to access variable from another class?
C#CC# / help
3y ago
❔ ✅ How to call a specific attribute from a getter class to another class
C#CC# / help
3y ago
Variable type passed to generic
C#CC# / help
2y ago