Thanks Alex and Christiaan, with your input I just got it working correctly - and I think I understand it. Christiaan, the recursiveness of my original code now makes sense to me. I'll be sure to use private members to store temporary data.
Thanks again to both!
Josh
Alex,
Thank you for your help. Maybe I am thinking about this backward - I am new to C#.
Here's what my "Installation" object has:
A string "Name" - ie "Hood"
A string "Type" - ie "Fort"
A bool "InstallationTypeFirst" - ie "True"
I would like to create a property (Installation.FullName)...
I'm trying to build an additional property for an "Installation" class. Sometimes "Name" goes first, sometimes "InstallationType" goes first. VStudio doesn't give me much, but says to make sure I don't have an infinite loop/recursion. Any ideas? Thanks!
public partial class Installation...
I'm sure this has been answered, but I sure haven't been able to track it down. I've been told there is a way to run a code-behind function from an asp:button click (i.e., I have two buttons on the same page, and want one button to run a function, and the other button to run a separate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.