Category: C# – Misc

Misc. Short Notes on Visual Studio and C#

Download Visual Studio Community Edition: https://visualstudio.microsoft.com/vs/community Compare Different Versions of Visual Studio: https://visualstudio.microsoft.com/vs/compare IPO Diagram for Your Code (Application) IPO Diagram visually shows/describes key inputs, Processes/Operations, and resulting outputs from those operations. Ref: https://www.youtube.com/watch?v=a10a11oxjrA&pp=0gcJCdgAo7VqN5tD For UML class diagram Concepts, please check: https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-class-diagram-tutorial An example from the URL above: In Object Oriented Design: Ref: https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-aggregation-vs-composition/ Associations are …

Continue reading

Visual Studio C#

C# Thread-Safe Concurrent Collections

C# Concurrent classes are provided through System.Collections.Concurrent Concurrent classes: for thread-safe operations i. e. Now multiple threads can access the Collections without creating problems Concurrent classes: BlockingCollection ConcurrentBag ConcurrentStack ConcurrentQueue ConcurrentDictionary Partitioner Partitioner OrderablePartitioner

C# Application using VS Code

You need C# Dev Kit. .Net Install Tools (.Net Runtime Install Tools), .Net SDK, and extensions that these extensions also depend on. Then >.net option will give you the project create, open, build or similar features – Check Image below) Having Visual Studio is the best option (and in Windows Environment under VM (Parallels or …

Continue reading

C# Interview Questions and Answers in Bengali

https://youtu.be/eWGWfpFGXvE

Basic database operations with c# select insert transaction stored procedure

https://youtu.be/-o46jQKS8G0

3rd part write c# tool to create html to pdf

https://youtu.be/LlYtJtiDu14

Misc C# – C Sharp Resources

Additional resources Dependency injection into views

A Simple ASP.Net Form in C#. Payment Information Collection Form #.Net Web Applications

Brought from our old site: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1350&title=A%20Simple%20ASP.Net%20Form%20in%20C#.%20Payment%20Information%20Collection%20Form. A Simple ASP.Net Form in C#. Payment Information Collection Form. Such forms can be used to test payment processing API/Service before actually integrating. The input fields are to send data to the payment gateway. The response fields are to display response from payment gateway. Here, the output fields represent …

Continue reading

ASP.Net Validation Control Examples in C# #.Net Web Applications

Brought from: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1325&title=ASP.Net%20Validation%20Control%20Examples%20in%20C#. ASP.Net Validation Control Examples. Just check the code below Some notes RequiredFieldValidator: is used to check that a field is filled up CompareValidator: Compare the value of a field with another field or data RangeValidator: Compares the data is within a given range RegularExpressionValidator: Domain name syntax, email addtress syntax ValidationSummary: Display …

Continue reading