Yes. C# allows you to use pointers if you want but does anyone? No. because C# is opinionated in that it thinks pointers are bad in most cases. MVC is the same. It is opinionated and so easier to work with in many cases.
On Fri, Mar 19, 2010 at 11:04 AM, David Richards < [email protected]> wrote: > I have to say, I've never done that in web forms. I think any > language/environment gives you the opportunity to do things in a bad > way. It doesn't mean you should. > > If that line of code scares you (as it should), don't write it. > > David > > "If we can hit that bullseye, the rest of the dominoes > will fall like a house of cards... checkmate!" > -Zapp Brannigan, Futurama > > > > > On Fri, Mar 19, 2010 at 11:01, Jonathan Parker > <[email protected]> wrote: > > To anyone who is still in love with webforms: > > var myString = > > > ((TextBox)mycontrol.Controls[0].Controls[3].Controls[5].Controls[2]).Text; >
