Results 1 to 3 of 3

Thread: [RESOLVED] nested statement

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Resolved [RESOLVED] nested statement

    Hi,


    Anyone can show me a nested statement like IF,FOR,WHILE?

    Thanks,
    POpskie

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: nested statement

    Nested just means within another. Nested 'if' statements are just one 'if' block within another. If you don't know the syntax for 'if', 'for' and 'while' in C# then MSDN is the logical place to look. Having said that, C# 2005 has code snippets that can do most of the work for you. Type the word and Intellisense will pop up and offer you the appropriate snippet. Hit the Tab key twice and it will insert a code stub for you. You can nest as many of those within each other as you like.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: nested statement

    Thanks JM. My friend asked me about the nested statement and before I answer I just to make sure that Im correct.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width