1 00:00:00,330 --> 00:00:02,960 Now it is time for the escape sequences. 2 00:00:03,180 --> 00:00:12,460 OK, now let's imagine we have this value, OK, which is var, for example, and we have to pay out 3 00:00:12,660 --> 00:00:12,920 some. 4 00:00:14,160 --> 00:00:14,850 A haircut. 5 00:00:15,420 --> 00:00:15,770 OK. 6 00:00:16,830 --> 00:00:19,600 Now, you can see that we have a single quotation here. 7 00:00:19,980 --> 00:00:26,850 Now, actually, this would ruin everything for us if we imagine if we are using a single quotation 8 00:00:26,850 --> 00:00:30,380 here, not as a double quotation. 9 00:00:30,630 --> 00:00:31,480 So like this. 10 00:00:31,830 --> 00:00:37,410 So actually, this would ruin everything for us because you can see the open quotation, the singularity 11 00:00:37,440 --> 00:00:39,370 opened and now we close it here. 12 00:00:39,540 --> 00:00:41,240 So this would give us an error. 13 00:00:41,460 --> 00:00:48,180 So it's if we print the wall and that's how it is. 14 00:00:48,260 --> 00:00:48,590 Yeah. 15 00:00:48,900 --> 00:00:56,580 So if I go here, I, if I clear the screen, if you can see that here, syntax error, inverted centers 16 00:00:56,910 --> 00:00:57,900 on site there. 17 00:00:57,900 --> 00:01:03,800 I am because this is outside of any quotation, as you can see, it is outside of any architecture. 18 00:01:04,110 --> 00:01:05,670 Now how to do that actually. 19 00:01:06,240 --> 00:01:10,160 Well the best thing is using the sequences that escape. 20 00:01:10,770 --> 00:01:14,980 And this is their best practice, by the way, by putting backslash here. 21 00:01:15,000 --> 00:01:22,550 So which means that backslash skip this character, which is the single quotation, and I am a hacker. 22 00:01:22,560 --> 00:01:29,360 So if I save now and by the way, you can see that it is now highlighted using the visual studio. 23 00:01:29,700 --> 00:01:36,600 So if I go there, if I type by here, you can see it now I am a hacker now, which is something very 24 00:01:36,600 --> 00:01:36,840 good. 25 00:01:38,070 --> 00:01:47,880 Now, what if I want to quote something else now what I want to, but I am a hacker slash backslash 26 00:01:47,880 --> 00:01:54,090 anyway, I am an engineer, OK, like this. 27 00:01:55,240 --> 00:02:03,520 Now, this would give us you know, actually, if I type this backslash because backslash is used to 28 00:02:03,520 --> 00:02:09,140 escape or to do things, so if I bought backslash within it, this would give us a new line. 29 00:02:09,430 --> 00:02:12,340 So if I type here, backslash and. 30 00:02:13,430 --> 00:02:20,120 Engineer, forget about the succession, so this would not do this as a backslash. 31 00:02:20,330 --> 00:02:23,050 This actually would assume that this is a new line. 32 00:02:23,210 --> 00:02:25,970 So if I said no and I print. 33 00:02:28,440 --> 00:02:33,310 You can see that now I am a hiker near so without end here. 34 00:02:33,610 --> 00:02:38,380 OK, now just assume the word is engineer without E.. 35 00:02:38,440 --> 00:02:40,480 OK, just follow me, OK, in here. 36 00:02:40,890 --> 00:02:42,480 So how to do that, actually. 37 00:02:43,490 --> 00:02:44,840 I think you guessed it right? 38 00:02:45,020 --> 00:02:47,990 Yeah, just put to back. 39 00:02:48,830 --> 00:02:51,630 OK, so to the bucks. 40 00:02:51,650 --> 00:02:55,900 The first backslash is the one that we want, but we need to skip it. 41 00:02:55,910 --> 00:02:57,800 How to do that by using the backslash. 42 00:02:58,590 --> 00:02:58,870 Yes. 43 00:02:59,210 --> 00:03:00,140 OK, like this. 44 00:03:00,290 --> 00:03:02,000 And now let's go there. 45 00:03:02,700 --> 00:03:03,870 Let's run it again. 46 00:03:04,220 --> 00:03:04,550 Yeah. 47 00:03:04,550 --> 00:03:06,980 You can see that I am a hack up slash engineer. 48 00:03:07,130 --> 00:03:14,120 OK, or so that what we learned here actually that using the backslash. 49 00:03:15,830 --> 00:03:21,230 To skip any special characters like the single quotation, like another slash and so on. 50 00:03:21,730 --> 00:03:23,470 OK, thanks for watching.