Understanding syntax in c#

Posted by user279521 on Stack Overflow See other posts from Stack Overflow or by user279521
Published on 2010-04-23T13:06:59Z Indexed on 2010/04/23 13:13 UTC
Read the original article Hit count: 297

Filed under:
|
|
|

I am hoping someone can help me understand what is going on in the code line below:

Table t = (Table)Page.FindControl("Panel1").FindControl("tbl");

I understand Page.FindControl("Panel1").FindControl("tbl"); Why is there a (Table) before the Page.FindControl?

© Stack Overflow or respective owner

Related posts about c#3.5

Related posts about ASP.NET