Home / MCQ Bank / Computer
Computer Basic Syntax And Data Types In C Sharp

What is the correct way to declare and initialize a string variable in C#?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • string str = "Hello"

Related Computer Questions

Which magic method is used to implement overloading in PHP? Which organization has launched the quantum processor 'Willow'? What is the significance of the Hadoop Rack Awareness feature? What is the outcome of using R along with minification? 1 Gigabyte is equal to ____________?