|
Skip Navigation Links
Home
>
Complaint Questions
Home
Hindi GK
UPSC GK
State GK
South India
Tamil
Telugu
Kannada
Malayalam
West India
Marathi
Gujarati
MP GK
Chhattisgarh
North India
RPSC
Haryana
UP GK
Uttarakhand
Himachal
Delhi
East India
Bihar
Jharkhand
Educational Quiz
College Quiz
A-O Level
Medical
Medical-PG
Engineering
GATE
MBA-BBA
Aptitude
IT Eng.
International
USA
UK
MCQ GK
Exam Quiz
old Exams
जीवनी
नौकरी
विशेष
search
Reported Question / Answer
Q.) An Account class has a property called accountNo and acc is a reference to a bank object and we want the C#.NET code snippet given below to work. Which of the following options will ensure this functionality? acc.accountNo = 10; Console.WriteLine(a
1)
Declare accountNo property with only get accessor.
2)
Declare accountNo property with both get and set accessors.
3)
Declare accountNo property with only set accessor.
4)
Declare accountNo property with get, set and normal accessors.
5)
NULL
Answer :
2
Thank you for reporting wrong Question / Answer / Options
We look forward to your suggestions and feedback.
Message / Correct Answer / Suggestion
Human Verification : Answer 2 + 3 = ?
Reading Corner ( Ctrl + Mouse Click)
When did George Herbert Hitchings get Nobel Prize for Medicine?
Who was New Hampshire’s governor in 1741-1767?
What is tesla, named after Nikola Tesla?
By which ship did Charles Lindbergh and his aeroplane return to USA after his historic solo New York – Paris flight?
Which museum did Frank Lloyd Wright design?
Which book is Edith Wharton’s autobiography?
When was Dwight Eisenhower born?
How did Thomas Paine sign his article African Slavery in America?
When did Robert Kennedy die?
What was Frank Sinatra’s full name?
When did John Harvey Kellogg die?
Which country is to the north of New York?
To which political party did Benjamin Harrison belong?
Which war put an end to James Pritchard’s excavations in the Jordan Valley?
Where was Lauren Bacall born?
Where was Franklin Pierce born?
When did Arthur Miller die?
What is the area of Arkansas?
Where was Mary Astor born?
When did Vermont become a state of USA?
What was John Tyler’s profession?
Who was Florida’s secretary of state in 2000?
Who refused to annex Hawaii to USA?
Which of the following has headquarters in Langley, Virginia?
When was Millard Fillmore born?
Who sculpted the Statue of Liberty?
Which Act’s defence by William Taft alienated many Republicans?
Which is the capital of New Jersey?
Whose portrait appears on $10 note?
After his father’s death in 1743 where did George Washington go to live with his half-brother Lawrence?
Which was Anne Morrow Lindbergh’s first book?
When did Albert Abraham Michelson die?
Which ocean is to the east of New Jersey?
What is the background of Washington’s flag?
Which state is to the north of North Carolina?
What was Frank Sinatra’s role in From Here to Eternity?
Who bought Frances Clara Folsom’s first baby carriage?
Who challenged St. Katharine Drexel to devote her life and wealth to the missions?
Which Lydia Maria Child book was published in 1878?
Which state is to the south of South Dakota?
Which famous poem did Lydia Maria Child write?
On 29 May 1962 Marilyn Monroe sang “Happy Birthday to You Mr. President”. Who was the President?
Which is the largest lake in Maine?
When did Martin Van Buren die?
When was Nathaniel Hawthorne born?
When did gambling become legal in Nevada?
When did Nikola Tesla invent the Tesla coil?
Which school did Barbara Tuchman attend?
Which of the following applies to Gerald Ford?
When did the Dutch establish Fort Orange?
Whose portrait appears on $20 note?
What was the marital status of Martha Dandridge Custis when George Washington married her in January 1759?
On which day Boston Marathon is held?
Where did Jack Kilby work in 1947-1958?
When was Andrew Johnson first sworn in as President of USA?
When was Robert Lee defeated at Gettysburg?
Where did Max Weber die?
Which magazine published excerpts of Answered Prayers?
Which of the following was considered a swing state in USA Presidential Election 2012?
Which is Minnesota’s state flower?
Which school did Wallis Warfield attend?
Where was Franklin Roosevelt born?
To which political party did Franklin Pierce belong?
When did Barbara Tuchman write The First Salute?
Which post was held by William Taft in 1921-1930?
Who designed Ohio’s flag?
From which institute did John Nash receive his bachelor’s and master’s degrees?
When did Congress of USA approve annexation of Texas?
When was the voting day for USA Presidential Election 2008?
When did Norman Mailer die?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact