Checking for validity of an expression - c# program, DOT NET Programming

Checking for validity of an expression - C# Program

Hello can you please provide me some examples regarding to the Checking for validity of an   expression in C#.

Posted Date: 2/11/2013 7:00:16 AM | Location : United States





Hi you can use this example,

Program - Checking for validity of an expression

using System;

 class CheckExpression

{

  public static void Main()

 {

   int x,y,a,b;

  x - y = 100;

   // gives error 

   //"The left-hand side of an assignment must be a variable, property or

indexer"

  x - (y = 100);

   // gives error 

   //"Only assignment, call, increment, decrement, and new object expressions 

   // can be used as a statement"  

 }

}

Posted by Robert | Posted Date: 2/11/2013 7:02:05 AM

Hey this the best way i have ever seen on web. i got solution for all my problems. Thanks alot.

 

Posted by Jermy | Posted Date: 2/11/2013 7:03:07 AM


Related Discussions:- Checking for validity of an expression - c# program, Assignment Help, Ask Question on Checking for validity of an expression - c# program, Get Answer, Expert's Help, Checking for validity of an expression - c# program Discussions

Write discussion on Checking for validity of an expression - c# program
Your posts are moderated
Related Questions
How to get Herarichal Data in Treeview control from sql server database in asp.net , can you provide the source code .

What are the different types of replication supported by SQL SERVER? There are 3  types of replication supported by SQL SERVER which are shown below:- 1) Snapshot Replicati

We want help in ASP.NET MVC Developer I want an expert ASP.NET MVC, C#,LINQ, SQL Server2012, JQuery, Angular JS, Bootstrap Responsive UI developer for more 6+ months. Desired

Project Description: I have various C# support projects and no time, so I'm seeking for a junior programmer to help out. This intro project is a C# module to develop the UI a

Project Description: I require a flight scheduling website, including billing and basic aircraft management; this will be used by a local piloting school There is no requirin

I need Web Based Inventory Management System Project Description: I require a build in software which has the subsequent features, if anybody has ready to use web based appli

mailer - mail sender Project Description: I want a mailer: -run on Windows Server 2008 -use how many theard i need -more details speak on private Skills required

Project Description: I need to get lync server 2013 fixed the issues it has hit: 1) Can't connect to it outside network, I think small firewall problem with a little issue in

Project Description: We require some routines written in C# (.NET) to: * Parse several RESTful APIs to change and push data to RabbitMQ * Pop objects from RabbitMQ and inp

I need a Custom Report - Crystal Reports Project Description: I am seeking a custom report for our syrinx hire software, all reports are made from Crystal Reports. Skills