I. Sort the one-dimensional arrays by the selection sorting method,
/* Personal understanding of sorting:First filter, select the maximum value, and obtain the value and subscript.The outer loop exchanges the position of the maximum value with the
I:
Ii. Code
Using System; using System. collections. generic; using System. componentModel; using System. data; using System. drawing; using System. linq; using System. text; using System. windows. forms; using Microsoft. visualBasic; namespace
1. HashSet set
HashSet is based on a mathematical Set. Using HashSet can improve the operation of a Set. The HashSet set does not contain the sorting method. If you want to sort the data, see use List
The collection works with the Sort
. NET Framework provides specialized classes for data storage and retrieval. These classes are collectively referred to as collections. These classes provide support for stacks, queues, lists, and hash tables. Most collection classes implement
Abstract class
C # the class and method can be declared as abstract, that is, abstract classes and abstract methods. Abstract Classes usually represent an abstract concept, which provides a starting point for inheritance. When designing a new
1. Bubble SortingBubble Sorting is the slowest sorting algorithm. In practice, it is the most efficient algorithm. It compares every element in the array one by one, causing large data to sink and small data to rise. It is an O (n ^ 2) algorithm.2.
. Net Component Programming context
In the subsequent articles on remote calls, we have mentioned the application domain, which is the logic of a Large-granularity control assembly. Who will take the lead in controlling objects?That's right. It's
Sqlite cannot directly create user-defined functions, and cannot be easily created and used as in SQL server. But we can still create it. After the creation is successful, we can still do what we like (such as batch update)
Sequence is a common
C # The Sqlite help class has recently used WPF as a client and requires offline operations to store data. In the project, considering using Sqlite embedded databases, I found a lot of information on the Internet, finally, a public help class is
C # create an Excel file. Here, a previously created Excel file is extracted from the resource. After the file is extracted successfully, use the OleDb method to connect to Excel and write data to the Excel file.Create a solution
Menu> new project>
// The ACM progress has been slowed down. This is the first half of the semester. I will make up the missed lessons and start C # learning.03rd lab Question 1
1. Write a console application. Enter a group of Integers to output all odd numbers.Tip:
I recently learned xml. I have also found some materials on the Net, which are not comprehensive. So I have written something here to share with you. Due to my limited knowledge, if there is an error, please refer to the Extensible Markup Language,
Background
When displaying data, the general values and values are as follows.
// set$("#name").val(data.name);$("#realname").val(data.realname);$("#address").val(data.address);$("#sex").val(data.name);$("#love").attr(!!data.love);// getvar data = {
C # simulate MSN form Jitter
Form jitter is a very interesting thing. Let's take a look at its principles.In fact, it is to generate a random number and then change the coordinates in the upper left corner of the Form.I use a loop to get it. In fact,
To implement the trojan service program, we mainly implement the following functions: running the background (hiding technology), receiving the control code, and modifying the Registry. We will introduce these three aspects:Private void
Like many beginners, when I first came into contact with C #, I was confused. After learning for a long time, I was confused about some basic names. What is C #? What is. net? What is visual studio? What is the relationship between them? Let's start
I am using C # As a small game and need to use animation. The problem solved last time was the flash problem. I used double buffering technology. I thought there would be no problem. Later, when all the images were drawn, the problem still occurred.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service