C# Static Members

Question posted in Computer Software on 06 2010
Rate question difficulty level 1 Votes
Please review the following class:
public class Class1
{
public static string Member { get; set; }
}

which of the following code section will work:
A. Class1 c = new Class1() { Member = "text"};
B. Class1.Member = "text";
C. Class1 c; c.Member = "text";
D. None of the above will work
 
 
Company: iForex
Location: Israel
C# Class Static

add a question

arrow_blue


Now hiring!
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------