1 00:00:00,150 --> 00:00:06,690 So we're going to talk about this object oriented, I have already told you that this come on, let's 2 00:00:06,710 --> 00:00:15,360 order from that dot net from framework so different from what is a program I can implement the C C sharp. 3 00:00:15,360 --> 00:00:19,150 The sheesha is a program and this is a framework for that. 4 00:00:19,440 --> 00:00:25,320 So I don't know this framework of C Sharp because I do not run up to. 5 00:00:25,650 --> 00:00:33,130 I have learned Java and Python so I can also see where there is no object oriented in C++ there is object. 6 00:00:33,480 --> 00:00:38,690 So you can compare this object to other programming languages because the concepts are the same. 7 00:00:38,730 --> 00:00:40,860 Only the difference is implementation. 8 00:00:40,980 --> 00:00:46,180 So one programming language how the different implementation handles, but the concepts are similar, 9 00:00:46,200 --> 00:00:49,460 the classes, objects, inheritance, etc.. 10 00:00:50,070 --> 00:00:56,130 So these comments are also the objects of this, uh, dot net forever. 11 00:00:56,310 --> 00:00:58,810 So these objects have the attributes. 12 00:00:58,830 --> 00:01:05,100 So like, uh, uh, suppose take for example, as a student student, have the attribute his name, 13 00:01:05,100 --> 00:01:10,070 his age and his, uh, nationality, his hobbies, etc.. 14 00:01:10,080 --> 00:01:11,850 So these are the activities. 15 00:01:12,150 --> 00:01:13,570 So there are other methods. 16 00:01:13,740 --> 00:01:16,350 So what functions he can do? 17 00:01:17,220 --> 00:01:23,900 A student can read, a student can, uh, learn, a student can walk, run, etc.. 18 00:01:23,910 --> 00:01:30,120 So the actions performed by the student are called methods, and the normal attributes of the object 19 00:01:30,120 --> 00:01:36,530 are the name ID, etc. So those will be the attributes and the functions will be the actual functions 20 00:01:36,540 --> 00:01:38,010 he's going to perform. 21 00:01:38,490 --> 00:01:45,670 So in the same way, these communities have the, uh, attributes like variables, class variables and 22 00:01:45,870 --> 00:01:46,830 class functions. 23 00:01:47,010 --> 00:01:48,450 So let's go ahead and take this up. 24 00:01:48,780 --> 00:01:57,090 So let's say good execution policy to make sure that we have sufficient right outside groups. 25 00:01:57,360 --> 00:02:01,020 So we have this the so we can just run our scripts. 26 00:02:02,490 --> 00:02:06,370 So I'm going to take the serious, serious transfer, uh, clear screen. 27 00:02:07,290 --> 00:02:11,970 This is also an alias, so I'm typing with one hand. 28 00:02:11,970 --> 00:02:14,370 That's why I just got a spelling mistake. 29 00:02:14,580 --> 00:02:16,920 So now I want to get that. 30 00:02:17,040 --> 00:02:20,730 I have already told you can see there is some intelligence in this partial. 31 00:02:20,910 --> 00:02:21,570 I see. 32 00:02:22,050 --> 00:02:23,880 So this is like eighty four Porsche. 33 00:02:23,880 --> 00:02:28,980 You can see the intelligence, but in the partial console you do not see this kind of intelligence. 34 00:02:28,980 --> 00:02:29,680 You need to hit the. 35 00:02:30,120 --> 00:02:33,740 So this is very useful than a normal partial console. 36 00:02:35,820 --> 00:02:37,320 So you got the date here. 37 00:02:37,510 --> 00:02:45,450 Uh, now what I want to do is I want to put the brackets over this, uh, and it defines the anonymous 38 00:02:45,450 --> 00:02:46,050 object. 39 00:02:46,050 --> 00:02:48,780 So it's, uh, an object with no name. 40 00:02:48,990 --> 00:02:55,800 And I can access these members using that dot operator in every other language. 41 00:02:56,130 --> 00:02:59,510 The same is, uh, the operator unit. 42 00:02:59,610 --> 00:03:00,740 You can access the number. 43 00:03:00,960 --> 00:03:04,250 You can see there is a date, the time of the year. 44 00:03:06,770 --> 00:03:15,160 Our kind, etc. So these are the attributes you take one of this, let's say, date so quick on this 45 00:03:15,170 --> 00:03:18,880 and you know, if you on this one, you're good. 46 00:03:18,890 --> 00:03:22,640 Actually, right now, let's go to this one and put the out. 47 00:03:22,640 --> 00:03:28,940 And they know this will do only that day of a particular day. 48 00:03:28,960 --> 00:03:31,850 So you'll get only the it because that is a great. 49 00:03:34,030 --> 00:03:36,600 I'm sorry, we got the update. 50 00:03:36,640 --> 00:03:41,320 That is the third, said Gordon, and so these are the members. 51 00:03:41,320 --> 00:03:47,060 Those will just display some value from the, uh, time. 52 00:03:48,880 --> 00:03:55,750 But this one can see these are the seconds that has been passed from the Unix epoch. 53 00:03:57,220 --> 00:03:58,940 So these are the members. 54 00:03:58,940 --> 00:04:00,790 So let's go to the functions. 55 00:04:01,330 --> 00:04:06,410 So these functions actually operate on these various Çöpler to add this. 56 00:04:06,760 --> 00:04:10,220 So, no, I need to pass something into this, too. 57 00:04:11,140 --> 00:04:19,600 So today you now the output will be folded because we're adding to this extra set of tables and you 58 00:04:19,600 --> 00:04:21,720 can see, no, it's number 14. 59 00:04:22,840 --> 00:04:26,710 So we have modified the date for with this add this function. 60 00:04:27,520 --> 00:04:33,340 Now you can also see add minutes, add months, add seconds, attic's, etc. You can also adeus we can 61 00:04:33,350 --> 00:04:36,370 clone and you can compare and with equals Exeter's. 62 00:04:36,520 --> 00:04:43,780 There are so many functions you can the uh expert which you can see these are two part of functions 63 00:04:43,780 --> 00:04:44,490 and normal. 64 00:04:44,920 --> 00:04:47,320 Uh these one are the variables. 65 00:04:47,470 --> 00:04:49,000 You cannot uh change. 66 00:04:49,180 --> 00:04:56,700 You can only get the information from these uh members that class variables but you can modify these 67 00:04:56,920 --> 00:05:01,180 uh are some action using this, uh, class method. 68 00:05:01,810 --> 00:05:02,950 So you can see this one. 69 00:05:03,430 --> 00:05:07,220 So one thing I want to tell you is that you matter. 70 00:05:08,650 --> 00:05:11,050 So this is not for the one. 71 00:05:11,050 --> 00:05:13,480 So that's a that process. 72 00:05:16,110 --> 00:05:23,410 So that process that they can see, these are the, uh, all the various you can operate, you can operate 73 00:05:23,490 --> 00:05:23,960 CPA. 74 00:05:26,380 --> 00:05:37,330 Now, your, uh, Sibiu cycles, so you can just you get the CPU you usage of our processors now, you 75 00:05:37,330 --> 00:05:39,910 can also have the hander's. 76 00:05:41,110 --> 00:05:46,550 So we got the Hatice, so we got got the column in the hand is right in the process command. 77 00:05:46,720 --> 00:05:48,430 So you'll get only the one column. 78 00:05:49,030 --> 00:05:54,960 So these are the numbers you can access. 79 00:05:55,210 --> 00:05:57,600 Also access the part of the process. 80 00:05:58,750 --> 00:06:00,210 So that's going to take this one. 81 00:06:00,370 --> 00:06:00,960 Right, this one. 82 00:06:01,050 --> 00:06:06,910 But so we this I see no need to learn from scratch all these methods. 83 00:06:06,910 --> 00:06:09,820 You can just put the dot operator and you going to call the one. 84 00:06:14,790 --> 00:06:21,740 OK, so let's we need to assign this process one process to variable and then we call the part. 85 00:06:21,960 --> 00:06:24,300 So that will be we'll be seeing later. 86 00:06:24,510 --> 00:06:26,370 Now, I want to tell you this one. 87 00:06:27,960 --> 00:06:35,970 So actually, we need to assign, uh, this process to a variable and then we need to collect it. 88 00:06:36,030 --> 00:06:38,980 So that's if you run this one, it would be an error. 89 00:06:39,240 --> 00:06:44,860 So what you're going to do is we are going to create a new process that is not gonna start and not. 90 00:06:44,910 --> 00:06:48,730 But now my knopper process has been running. 91 00:06:48,960 --> 00:06:52,020 Now, what I want to do is get. 92 00:06:54,040 --> 00:07:04,150 Francis and I want to grab for the process for this not finished here, ignore case and let's not forget. 93 00:07:06,450 --> 00:07:12,410 And you can see this is my idea of this process, not one three five eight, so one three five eight, 94 00:07:12,430 --> 00:07:15,020 it is the process of the notebook. 95 00:07:16,650 --> 00:07:19,770 Now, what I want to do is I will set that process notepad. 96 00:07:20,040 --> 00:07:23,720 And I guess I need to read in partial. 97 00:07:24,480 --> 00:07:25,290 You need to sit down. 98 00:07:25,320 --> 00:07:30,870 Every dollar is equal to the value. 99 00:07:30,900 --> 00:07:33,620 So it's like a better script. 100 00:07:33,960 --> 00:07:36,820 You can see the dollar and it sounds like a bad script. 101 00:07:36,840 --> 00:07:39,660 So we'll talk about the word just for now. 102 00:07:40,440 --> 00:07:47,500 Uh, so consider this is going to get personal to know what I want to do this year. 103 00:07:47,640 --> 00:07:57,600 But now if I scroll through this one, I can, uh, get all the medals which we have seen in here so 104 00:07:57,660 --> 00:07:58,830 you can get everything. 105 00:08:00,750 --> 00:08:02,280 You can also get the idea. 106 00:08:02,580 --> 00:08:04,560 So one three, we have seen this one. 107 00:08:04,570 --> 00:08:04,810 Right. 108 00:08:05,250 --> 00:08:06,050 And you can also get. 109 00:08:08,970 --> 00:08:13,800 So you can see the part here is even though that is not better, so that's. 110 00:08:14,070 --> 00:08:16,380 But now we are going to kill this process. 111 00:08:17,760 --> 00:08:21,680 So you can just say kill and it's going to vanish. 112 00:08:21,700 --> 00:08:21,990 No. 113 00:08:27,720 --> 00:08:34,690 So let's go ahead and run this one, as you can see, after a quick and turn now, this has been banished 114 00:08:34,710 --> 00:08:37,900 because that the process we have through this process. 115 00:08:38,280 --> 00:08:44,040 But again, it will point to the Northborough, but there is no process. 116 00:08:45,060 --> 00:08:45,750 You can see here. 117 00:08:45,750 --> 00:08:46,980 There is no process here. 118 00:08:47,760 --> 00:08:50,140 So these are the basics about the object. 119 00:08:51,120 --> 00:08:55,310 With this, you can access, uh, if you want them more. 120 00:08:55,590 --> 00:08:57,510 Are the methods available for the commander. 121 00:08:57,570 --> 00:09:04,290 You can go to the U.S. Open U.S. and make a new script and go to the Commander Dot, and you can search 122 00:09:04,290 --> 00:09:08,410 through all the methods and and variables. 123 00:09:08,910 --> 00:09:14,130 So this is very helpful in finding out more about this command and more functionality and flexibility 124 00:09:14,130 --> 00:09:14,950 about this commander. 125 00:09:15,090 --> 00:09:21,510 So there is no way in remembering all this command center function and there is no use in remembering 126 00:09:21,510 --> 00:09:27,560 that because there are pages offering her pages and all my documentation further. 127 00:09:28,080 --> 00:09:33,690 So anyone will not simply waste time on learning all these methods and process for the particular community. 128 00:09:33,720 --> 00:09:39,490 So what we want to do is we will remember main comments that are useful for certain tasks. 129 00:09:40,080 --> 00:09:45,510 So with those, uh, come on, let's we can just, uh, pick up on practice. 130 00:09:46,060 --> 00:09:49,910 Um, uh, you get easily comment. 131 00:09:50,050 --> 00:09:55,880 So the story about this object oriented, uh, meterology about this command and it's.