What are Declaration Statements ?

 Posted by Chvrsri on 6/3/2011 | Category: C# Interview questions | Views: 4190 | Points: 40

A Declaration Statement declares a Local Variable or Constant Variable .

These Statements are allowed in blocks but are not permitted as Embedded Statements.

Declaration can be done in this way :

local-variable-declaration ;
local-constant-declaration ;

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Akiii on: 6/4/2011 | Points: 10
please, give us some examples.....
it will be better..

Thanks and Regards

Login to post response