Results 1 to 4 of 4

Thread: Conditional statements in C sharp

  1. #1
    Join Date
    Dec 2010
    Posts
    39

    Conditional statements in C sharp

    I am a programming student . I am pursuing a .NET course from a reputed organization. I am being doing a bit of programming in my class. It was simpler when the tasks were simpler , but as the task got more complex, I was not able to produce a error free code as the program required, please help me with conditional statements.

  2. #2
    Join Date
    May 2009
    Posts
    539

    Re: Conditional statements in C sharp

    Yes it normally happens , as difficulty level increases you will have to implement the syntax which are required. Conditional statements are those which are normally used compare different cases. There are different types of conditional statement but the most common is if statement.

  3. #3
    Join Date
    Apr 2009
    Posts
    569

    Re: Conditional statements in C sharp

    Many languages in the IT use conditional statement , not only if , but also if else but also other conditional statement such as laddered if and statement. I can tell you one example in which you can use these conditional statements such as to determine which year is a leap year.

  4. #4
    Join Date
    May 2009
    Posts
    529

    Re: Conditional statements in C sharp

    There is one more conditional statement being used in this language which is known as Switch statement. In this type of statements the comparison becomes lot more easy . In switch statement there is a ladder created and the results are compared with the contents of those ladder.

Similar Threads

  1. Sharp 007SH Hybrid An 3D Clamshell Android Phone by Sharp
    By jackalz in forum Web News & Trends
    Replies: 3
    Last Post: 22-05-2011, 07:28 AM
  2. Conditional statements in batch files
    By Gillian Anderson in forum Software Development
    Replies: 5
    Last Post: 01-04-2010, 11:21 AM
  3. Difference between DML statements and DDL statements
    By Prashobh Mallu in forum Software Development
    Replies: 5
    Last Post: 11-01-2010, 01:07 PM
  4. SQL statements with JSP
    By blindsleeper in forum Software Development
    Replies: 2
    Last Post: 16-05-2009, 09:54 PM
  5. Can we Write conditional statements in CSS?
    By machok in forum Software Development
    Replies: 3
    Last Post: 04-03-2009, 01:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,932,172.34009 seconds with 17 queries