00:02
Okay, the rhetoric for this question is a little bit, well, vague, but we can parse it.
00:12
Which statement in c -sharp allows you to do the following.
00:16
Properly check the variable code, okay? so there's a variable named code.
00:26
Now we don't know what type it is, but they want to check whether it contains the character c.
00:36
So is the character c contained in our variable code? let's see.
01:00
If it is, display this is a check in advance to a new line.
01:07
Okay, so if we wanted to write our own code for this, we'd need an if statement.
01:11
We'd need to do that check, and then we need to make sure that the statement that follows has us the code that displaying the sentence, this is a check.
01:25
We'll advance to a new line.
01:28
Let's write this.
01:30
Assuming we did using system namespace, we could just call our console classes right line method.
01:39
And we need to give it that sentence.
01:42
Well, this is a check.
01:51
Let's write it on here.
01:52
This is a check.
01:54
We're going to have a end quote and there, a semicolon to say our statement has ended.
02:07
So let's see.
02:09
Good.
02:09
They all have that? well, do they all have the if? let's see.
02:14
They don't have the parentheses correct in the first one, and they just write it in english.
02:19
So the compiler doesn't know the english in part a, where it says code is equal to c...