Home / MCQ Bank / Computer
Computer Miscellaneous In C Sharp

Which of the following is NOT a valid type conversion in C#?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • string to int

Related Computer Questions

Which is used to allocate and deallocate storage for objects during the execution? What is the purpose of inheritance in Ruby classes? What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class A{ mutable int a; public: A(){ cout<<"A's default constructor called\n"; } A(const A& a){ cout<<"A's copy Constructor called\n"; } }; class B{ A obj; public: B(){ cout<<"B's Constructor called\n"; } }; int main(int argc, char const *argv[]) { B b1; B b2; } In C, what is a null pointer (NULL or 0)? Which of these methods of class String is used to separate a substring from a String object?