adplus-dvertising
frame-decoration

Question

Which of the following string handling functions and methods are used to compare two strings.
i) StrComp ii) String.Compare iii) String.Equals iv) String.CompareTo

a.

i, ii and iii only

b.

ii, iii and iv only

c.

i, iii and iv only

d.

All i, ii, iii and iv

Posted under Web Technologies

Answer: (d).All i, ii, iii and iv

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following string handling functions and methods are used to compare two strings. i) StrComp ii) String.Compare iii) String.Equals iv) String.CompareTo

Similar Questions

Discover Related MCQs

Q. The string handling function, “Mid” in visual basic .net is used to ……………..
i) get a substring ii) insert a substring iii) remove text iv) format string

Q. The …………… property in array class of vb .net, returns an integer indicating the number of dimensions of the array.

Q. State the following statements are True or False for arrays in visual basic .net are
i) Array are objects in vb .net
ii) Array variables can have the public, protected, friend, private or protected friend specifier

Q. In Int32structure ……………….. function converts the string representation of a number of its Int32 equivalent.

Q. ………………. method converts the value of the instance to a double representing the OLE Automation date.

Q. ………………… property on windows forms, gets or sets the size and location of the form on the windows desktop.

Q. Windows forms public object property, …………….. gets or sets the bounding rectangle for the form.

Q. ………………. method on windows forms public object methods, gets the child control that is located at the specified co-ordinates.

Q. ……………. method finds the location of the specified screen point to client co-ordinates.

Q. ……………. event occurs when a key is pressed while the form has the focus.

Q. In the new sub procedure of windows forms, the code calls a procedure named ………………., which adds and arranges the controls in the form.

Q. ……………….. keyword is used to refer to the current object.

Q. The possible values for the FormBorderStyle property is/are the following
i) Fixed3D ii) None iii) FixedSingle iv) VariableDialog

Q. Form’s ………………. property is used to specify t he initial position on the screen.

Q. We can assign form’s start position property values from the FormStartPosition enumeration, with the following values.
i) Certerpart ii) CenterScreen iii) Manual iv) Location

Q. Which of the following is the correct way of assigning value “centerscreen” for form’s startposition property.

Q. ………….. class is built into the .Net Framework to display messages and accept input from the user.

Q. …………….. is a string expression displayed as the message in the dialog box.

Q. Which of the following is/are the possible values of MsgBoxResult returned from MsgBox function.
i) Ok ii) Cancel iiii) Abort iv) Retry v) Ignore

Q. ………………… is one of the MessageBoxDefaultButton enumeration values that specifies which is the default button for the message box.