1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ch4aika [34]
4 years ago
10

Before using a string in a comparison, you can use either the To Upper method or the To Lower method to convert the string to up

per case or lower case, respectively, and then use the converted string in the comparison.1. True2. False
Physics
1 answer:
Burka [1]4 years ago
5 0

Answer:

True

Explanation:

If there's no preference over the string case (upper case or lower case), one can convert both strings to upper case or to lowercase and then compare the converted strings to test if they're equal or not.

An Illustration is

string a = "Boy"

string b = 'bOy"

if(a.ToUpper() == b.ToUpper() || a.ToLower() == b.ToLower())

{

Print "Equal Strings"

}

else

{

Print "Strings are not equal";

}

The above will first convert both strings and then compare.

Since they are the same (after conversion), the statement "Equal Strings" will be printed, without the quotes

You might be interested in
Pakistan and bangladesh are two countries on the subcontinent
gregori [183]

Answer:

Indian subcontinent  

Explanation:

The Indian subcontinent is a southern region and peninsula of Asia which include seven countries. The seven countries in Indian subcontinent are Pakistan, Bangladesh, India, Bhutan, Maldives, Sri Lanka and Nepal. According to Wikipedia, about 55 million years ago, the Indian subcontinent has land mass that rifted from Gondwana and merged with the Eurasian plate.

5 0
3 years ago
What iz inertia ? -,-​
kipiarov [429]

Inertia refers to the tendency of a body to resist changes.

<h3>Inertia</h3>

It is the property of a body to resist change.

A moving body will continue moving until a force acts on it. Unless the acting force is big enough to overcome the inertia of the body, the body will continue moving.

Also, a body at rest will continue resting unless a force big enough to overcome the inertia force is used to displace it.

More on inertia can be found here: brainly.com/question/1358512

4 0
2 years ago
Read 2 more answers
4. You bought a block of cheddar from the grocery store. If you cut a small piece and a large piece from the same block of chees
ANEK [815]
Yes, as density is a value which is the same for any substance and does not change due to different volumes or masses of the same substance
3 0
3 years ago
Complete the following​
Furkat [3]

answer is down hera

3 0
3 years ago
What determines the Frequency of a wave?
kakasveta [241]

Answer:the source of a wave

Explanation:

5 0
3 years ago
Other questions:
  • Why do u think you usually can't feel or notice the movement of the continents
    15·1 answer
  • A double-slit diffraction pattern is formed on a distant screen. If the separation between the slits decreases, what happens to
    13·1 answer
  • 15 POINTSSS HURRYYY) Carrie is doing an experiment about plants in science class. She has four of the same type of plant. She se
    7·2 answers
  • Choose all the answers that apply.
    7·2 answers
  • Select the correct answer from each drop-down menu.
    14·1 answer
  • I need help on Weight vs mass.
    13·1 answer
  • there is no gain in mechanical advantage in the case of single fixed Pulley explain why the pulley is then used?​
    13·1 answer
  • Which statement is a scientific theory?
    5·2 answers
  • The force between two point-charges of 0.040 C and 0.060 C separated by certain distance is 2.2 x 10^5 N. what is the distance b
    11·2 answers
  • A carnival ride accelerates upwards at 2.5 m/s. what is the apparent weight of a 35 kg child on the ride
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!