Theoretical and Natural Science
- The Open Access Proceedings Series for Conferences
Vol. 9, 13 November 2023
* Author to whom correspondence should be addressed.
Traditional approaches to using data structures mainly focus on the improvement in algorithm efficiency but rarely take advantage of object-oriented programming that can simulate the definition of mathematic concepts in a way that is similar to human thinking mode, so traditional approaches cannot satisfy the need of simulating sets and their features and operations for mathematics studies. In this paper, the author pointed out the disadvantages of traditional ways, proposed a series of hypotheses describing the relationship between sets and classes such as inheriting and inclusion relationships and a way based on those hypotheses using features of object-oriented programming, and used C#, one of the best object-oriented programming languages, to simulate sets and their features. In addition, for each hypothesis, the author raised examples with C# codes that realize the theory in this paper, clearly showing the approach proposed in this paper and why it is both efficient and elegant.
Set Theory, Object-Oriented Programming, C Sharp
1. Yang, Z. (2020) Basic concepts. In: Yang, Z. (Eds.) Modern Algebra (4th edition). Higher Education Press Inc., Peking. pp. 2-18.
2. Cai, Z. (2023) Design and Realization of Automatic Stereoscopic Warehouse Control and Management System Based on C#. Ningxia University.
3. Yang, F., Xu, H., Chen, S. (2017) About the Application of C# in the Calculation of Background Value, Line Metal Quantity and Reserves. In: The 9th National Congress and 16th Annual Meeting of the Chinese Society of Mineralogical and Petrographic Geochemistry. Xian,China. pp. 1005-1006.
4. ISO/IEC 14882:2020, Programming languages — C++.
5. Wu, D. (2016) An Empirical Study of the Key C++ Language Features Based on Open-Source Software. Nanjing University.
6. Microsoft. (2023) NET API Browser. https://learn.microsoft.com/en-us/dotnet/api/.
7. Oracle and/or its affiliates. (2023) Java® Platform, Standard Edition & Java Development Kit Version 20 API Specification. https://docs.oracle.com/en/java/javase/20/docs/api/.
8. Microsoft. (2023) C# reference. https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/.
9. Microsoft. (2021) Advanced NET programming documentation. https://learn.microsoft.com/en-us/dotnet/navigate/advanced-programming/.
10. Purwanto. (2020) Construction of multiplicative groups in modular arithmetic. Journal of Physics: Conference Series. In: 1st International Conference on Mathematics and its Applications (ICoMathApp) 2020. Malang, Indonesia. pp: 1872:012009.
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Authors who publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open Access Instruction).