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
Two objects are held close together. When they are released, they move toward one another. Which conclusion is supported by this
Liula [17]

Answer:

The objects have opposite charges.​

Explanation:

The object when released are moving towards each other simply because they attract each other.

  • According to coulombs law of charges, like charges repel and will move away from one another.
  • Unlike charges attracts and moves towards one another
  • Since the objects are coming towards each other, they are of opposite charges.  
6 0
3 years ago
Read 2 more answers
Voltage drops across a source of emf.<br><br> A. True <br> B. False
iren2701 [21]
A.true hope it help :)
5 0
4 years ago
FREEE POINTS BABAY love ya
Leni [432]
Omgggggg i love you
7 0
3 years ago
Read 2 more answers
Physically inactive (sitting down a lot during free time)<br>​
alekssr [168]
Yes, that’s physically inactive. You should be moving your arms and legs if you’re going to be sitting down.
6 0
3 years ago
Select all that apply
borishaifa [10]
a,b,c  is your answer light and sound are not considered matter and heat is energy created from matter and electricity is particles moving basically therefore electricity is matter hope this helps
5 0
3 years ago
Other questions:
  • A gray kangaroo can bound across a fl at stretch of ground 810 with each j ump can-ying it 10 m from the takeoff point. if the k
    13·1 answer
  • Static discharges occur when
    15·2 answers
  • An electron with kinetic energy 2.9 keV moving along the positive direction of an x axis enters a region in which a uniform elec
    14·1 answer
  • Stiind ca de la cea mai apropriata stea din afara Sistemului noatru Solar lumina ar ajunge in 4,3ani in ce unitati de masura con
    9·1 answer
  • _____ is the passing of a wave through an object.
    12·2 answers
  • A gas can compress and change shape easily. How do these properties relate to the motion of atoms in a gas?
    9·1 answer
  • A school bus moves slower and slower. Using what you have learned about forces, explain why the bus moves slower and slower.
    14·1 answer
  • PLZ HELP ASAp !!!!!!!!!!!!!!!!!!!!!!!! Im gonna fail this plz help !!!
    10·2 answers
  • Two people are standing on a 3.12-m-long platform, one at each end. The platform floats parallel to the ground on a cushion of a
    11·2 answers
  • Name of compounds<br>a. H2Co3<br>b. NH4OH<br>c.AlPO4<br>d.NaOH<br>e.AuCI3<br>​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!