--- Summarized points ---- 1- Readable 2- Performance (dev vs prod) 3- Reusable code 4- Naming convention - variables, classes, properties, functions Eg, GetEmployee >> GetEmployeeList ----- both conveying same meaning but first is small 5- DRY principle - Don't repeat yourself -- create helper classes/ function and reuse 6- Class names, Method names: PascalCase 7- Variables: camelCase 8- Keep methods small and simple. Don't make it too large. Keep it short and simple. If it's too short, split its functionality and call the function in actual function.. 9- Create self explanatory method names so that you don't need to write comments
Comment in xml style is for intel sense to generate descriptions when cursor hover over it. Also sometimes things seems to be simple but could have ambiguous meanings. What calculate salary means? Before tax/ after tax, any government deductions in effect?
Hi sir, please explain about how to make logic strong in programming, what are the steps should we follow , which topic should focus more in c# to become sharp in logical thinking and in programming, please make videos on this. What are the topics should we cover in data structure also
Hi , in order to cover the basic C# concept , you should see the oops clearly then constructor , interface ,Array , List & other basic things from W3 school. once u feel u have good knowledge then search basic questions on google & you will get list of that. there u go, try to solve all of them it will probably cover your basic along with Array , list everything.
IF the GetEmployees method returned a collection of something, like an Employee object, then I would have a repository that implemented an IDataRetrieval (IReadDataRetrieval, IReadWriteDataRetrival, etc.) on a repository class and an overloaded Get method that returned various collections or instances of that domain object model class. I would NEVER name something Get that returned void UNLESS (and I would never do this without an architectural reason for it) an out/ref parameter returned data to the caller. GetVoid…😂😂 good one. Dont have List or Collection or other implementation details in your method names.
Hi Happy Brother, am watching you a face interaction first time better but, am notice one thing why are you use always kubera mudra on hand gesture brother.... something something... But, Thank you Universe to delivery the Message.!🤗
Hii... My heartly thanks in advance. I'm so much confused about to learn dsa &algo. As a dotnet dev can i go with learn dsa in c#. Bcoz there is so many suggestion that if we learn dsa go for c++, java, python lik that. Can anyone clear my doubt. Pls
--- Summarized points ----
1- Readable
2- Performance (dev vs prod)
3- Reusable code
4- Naming convention - variables, classes, properties, functions
Eg, GetEmployee >> GetEmployeeList ----- both conveying same meaning but first is small
5- DRY principle - Don't repeat yourself -- create helper classes/ function and reuse
6- Class names, Method names: PascalCase
7- Variables: camelCase
8- Keep methods small and simple. Don't make it too large. Keep it short and simple. If it's too short, split its functionality and call the function in actual function..
9- Create self explanatory method names so that you don't need to write comments
Wow... excellent summary..
Finally, your background is ready and looks good. :)
Seriously very nice explanations. And I became your fan. day by day with your videos. Thanks a lot. :)
Add comment is also a best practice in my opinion. As It can give a short brief of wat exactly we are doing in there.
Good
From side we should give comments because we should mention who has written code, date, modified by user etc.
Thanks and love from Pakistan... Your videos are very valuable
Thanks and love from India. All the best for your career.
Another best Practice is to like this Video and follow this guy!
Excellent, Looking more videos for code clenup tips
Thanks Santosh. All the best for your career.
SIr Please explain about Design Patterns also. Its very confusing theory wise
Awesome explanation
Good explanation and easily uderstand sir
Thanks and welcome
Good video 🎉
Thanks Madhu. All the best for your career.
Good understanding 👏
Thanks Ashish. Wish you all the best.
nice video thank's alot
wc Syed
Comment in xml style is for intel sense to generate descriptions when cursor hover over it.
Also sometimes things seems to be simple but could have ambiguous meanings.
What calculate salary means? Before tax/ after tax, any government deductions in effect?
It is debatable Edwin. CalculateSalary is just any business logic method.
Hi sir, please explain about how to make logic strong in programming, what are the steps should we follow , which topic should focus more in c# to become sharp in logical thinking and in programming, please make videos on this. What are the topics should we cover in data structure also
Hi , in order to cover the basic C# concept , you should see the oops clearly then constructor , interface ,Array , List & other basic things from W3 school. once u feel u have good knowledge then search basic questions on google & you will get list of that. there u go, try to solve all of them it will probably cover your basic along with Array , list everything.
Hi Happy,
Please make video on JET token in Dotnet core.
What about the comments inside function to denote some logics/description?
Comments are up to you, if you think they are needed. Then put them.
IF the GetEmployees method returned a collection of something, like an Employee object, then I would have a repository that implemented an IDataRetrieval (IReadDataRetrieval, IReadWriteDataRetrival, etc.) on a repository class and an overloaded Get method that returned various collections or instances of that domain object model class. I would NEVER name something Get that returned void UNLESS (and I would never do this without an architectural reason for it) an out/ref parameter returned data to the caller.
GetVoid…😂😂 good one.
Dont have List or Collection or other implementation details in your method names.
Nice
Thanks @abhay
Hi Happy Brother, am watching you a face interaction first time better but, am notice one thing why are you use always kubera mudra on hand gesture brother.... something something... But, Thank you Universe to delivery the Message.!🤗
hehe... great observation. I just googled this kubera mudra. No idea bro, may be it comes naturally.
your thought is verry use full for me Thank you
Hii... My heartly thanks in advance.
I'm so much confused about to learn dsa &algo.
As a dotnet dev can i go with learn dsa in c#.
Bcoz there is so many suggestion that if we learn dsa go for c++, java, python lik that.
Can anyone clear my doubt. Pls
Sir please share me how to make logic and inderstad
Practice Practice Practice
Can you coding interviwe question
That is on my list, will cover in future
Sir, Future Of Dot Net Developer In 2025 Asking For Freshers
Sir hindi me video bnvalijye
JWT TOKEN
non coder 😂😂😂😂