Question
static void Main(string[] args)
{
Console.Write("c");
Console.Write("sharp" );
Console.ReadLine();
}
a.
sharp
b.
c
sharp
c.
c
d.
sharp c
Posted under C# programming
sharp
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be the output of the given code snippet?
Similar Questions
Discover Related MCQs
Q. Choose the correct statement about the WriteLine()?
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of these classes is used to create an object whose character sequence is mutable?
View solution
Q. Select the namespace/namespaces which consists of methods like Length(), Indexer(), Append() for manipulating the strings.
View solution
Q. Select the method used to write single byte to a file?
View solution
Q. Select the namespace on which the stream classes are defined?
View solution
Q. Choose the class on which all stream classes are defined?
View solution
Q. Choose the stream class method which is used to close the connection:
View solution
Q. The method used to write a single byte to an output stream?
View solution
Q. Select the method which writes the contents of the stream to the physical device.
View solution
Q. Select the method which returns the number of bytes from the array buffer:
View solution
Q. Name the method which returns integer as -1 when the end of file is encountered.
View solution
Q. Select the statements which define the stream.
View solution
Q. Select the action of the method long seek()?
View solution
Q. Which among the following attempts to read up to count bytes into buffer starting at buffer[offset], returning the number of bytes successfully read?
View solution
Q. Which of these classes is used to read and write bytes in a file?
View solution
Q. Which of these data types is returned by every method of OutputStream?
View solution
Q. Which of these classes is used for input and output operation when working with bytes?
View solution
Q. Which among the following is used for storage of memory aspects?
View solution
Q. Which among the following is used for storage of unmanaged memory aspects?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C# programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!