The query results of Linq may follow 2 & #186;, 2 & #185;, 2 & #178;,... growth calculation, and the query results of linq.

Source: Internet
Author: User

The query results of Linq may follow 2 °, 2 °, 2 ²,... growth calculation, and the query results of linq.

        static void Main(string[] args)        {            int[] array = new int[] { 102, 12, 23, 412, 22, 14, 45, 65, 33 };            var obj = from item in array                      orderby item ascending                      group item by item / 100;                          foreach (var item in obj)            {                Console.WriteLine(item.ToString());            }            return;        }  

If you are bored and want to write a program using Linq, you will suddenly find this problem. Please refer to the above Code. Ideally, the obj result should be:

{0: [, 65]

1: [102]

4: [412]}

Actual results (Please use monitoring to view the results, and the last extra 0 cannot be printed ):

{0: [,] // optimistic about 8 digits = 23, less than 0

1: [102] // 20

4: [412]} // 20

That is to say, the last multiple Zeros In the 0 group, but this zero is not defined in the original array. How does it appear?

 

Then modify the array int [] array = new int [] {102, 12, 23,412, 22,111,156, 14, 45, 65 };

        public static void Main(string[] args)        {            int[] array = new int[] { 102, 12, 23, 412, 22,111,156, 14, 45, 65, 33,88 };            var obj = from item in array                      orderby item ascending                      group item by item / 100;                        foreach (var item in obj)            {                foreach (var t in item)                {                    Console.Write(t + "\t");                }                Console.WriteLine();            }                        return;        }    

 

The result of this test is (Please use monitoring to check that multiple zeros cannot be printed at the end of group 1 ):

{0: [,] // 8-bit = 23

1: [102,111,156, 0] // 4 digits = 22. If not, add 0.

4: [412]} // 20

 

So I guessThe results of the Linq query may follow 2 °, 2 °, 2 ²,... growth calculation


My amniotic fluid is 135MM in 37 weeks. The placenta is located in the forearm of the uterus. The Fetal echo and fetal position are visible in the stage 2 of placenta maturity;

Double top diameter: bpd represents the diameter of both sides of the fetal head, which is the measurement data of the diameter of both sides of the fetal head and is also one of the indicators for calculating the fetal size. According to the general rule, three months of pregnancy is less than 3 cm; after five months of pregnancy, basically consistent with the month of pregnancy, that is, 28 weeks of pregnancy (7 months) when bpd is about 7 cm, when 32 weeks (8 months) is about 8 cm, and so on. After 8 months of pregnancy, the average weekly growth of about 0.2 cm is normal.
Placenta position: the position of the placenta on the uterine wall. The normal thickness of the placenta should be between 2.5 and ~ Between 5 cm; in some reports, the placenta is divided into three levels. Level I is the early stage of placenta maturity, with even echo ~ This change is visible within 32 weeks; Level ii indicates that the placenta is near maturity; Level iii indicates that the placenta is mature. The closer the term is, the more mature the placenta, the more uneven the echo. If the placenta position is too low, it may block the entrance and affect normal childbirth.
Amniotic fluid range: the value of amniotic fluid range can indirectly determine whether the fetus is abnormal. Generally, the amniotic fluid depth is 3 ~ 7 cm is normal, more than 7 cm is the increase of amniotic fluid, less than 3 cm is the decrease of amniotic fluid. If the amniotic fluid scope is too large, it indicates that the fetal neural tube or gastrointestinal tract may be abnormal; if the amniotic fluid scope is too small, it may be a problem with the fetal urinary system.
Fetal movement: fetal movement can indicate the normal condition of the fetus in the palace, which is an important signal used to predict the safety of the fetus in the palace. From 18th ~ After 20 weeks, most expectant mothers may feel fetal movements, starting from mild, with fewer times. 28 ~ 32 weeks, the most fetal movement, 36 ~ pregnant ~ After 38 weeks, the fetal movement and frequency gradually decreased. Fetal movement: 8 ~ Average at 12 hours, 2 ~ in the afternoon ~ Minimum 3 hours, 6 ~ 10 is the most frequent. If the report states that "yes" and "strong" are normal, "no" and "weak" may be abnormal or the fetus is sleeping, and comprehensive analysis should be carried out in conjunction with other projects.

The fetal position indicates the position of the mother's pelvis, that is, the four-phase position of the pelvis-left front, right front, left back, right back.
The bone shown at the top is the occipital bone (o), the hip indicated at the top is the sacrum (s), and the lower Chin bone (mentum, abbreviation: m); shoulder first dew represents the shoulder blade (scapula, Abbreviation: SC ).
There are three methods to describe the fetal position:
1. represents the Left or Right side of the pelvis, abbreviated as left (l) or right (r );
2. indicates the name of the bone. For example, if the top part is "pillow", that is, "o", the top part is "Si", that is, "s", and the top part is "chin ", that is, "m", and "SC ";
3. represents the bone before, after, or transverse pelvis. For example, the top first dew, the left occipital bone in the pelvis, toward the front, the fetal position is left before the pillow (loa), is the most common fetal position.
The abbreviation of each birthpoint is as follows:
There are six fetal positions for first exposure:
Left pillow Front (loa) left pillow horizontal (lot) left pillow back (lop) right pillow Front (roa) right pillow horizontal (rot) right pillow back (rop)
There are six types of fetal bits for buttocks:
Left anterior (lsa) left anterior (lst) left anterior (lsp) right anterior (rsa) right anterior (rst) Right posterior (rsp)

There are six types of fetal positions:
Left front (lma) left front (lmt) left front (lmp) Right front (rma) Right front (rmt) Right rear (rmp)
There are four fetal positions for shoulder first dew:
Left shoulder Front (lsca) left shoulder back (lscp) Right Shoulder Front (rsca) Right shoulder back (rscp)

Ac-abdominal circumference
Aptd is the thickness of the abdomen, also known as the "abdominal diameter ". This data needs to be measured to check the developmental status of the fetal abdomen and to estimate the fetal weight.
Bdp-the length of the longest part between the left and right sides of the Double top diameter head, also known as "large horizontal diameter of the head ". Bpd is often used for prediction when the pre-production date cannot be determined through crl in the initial stage. After the middle stage, this data is often required to be measured when the fetal weight is estimated.
Crl-head hip Length indicates the length of the head hip, which is the maximum long axis of the Parallel measurement of the fetal longitudinal axis. It is mainly used to determine the pregnancy 7 ~ 12 weeks of age.
Hc-head circumference
Fl-the length of the thigh bone of the femoral fetus, also known as "thigh bone length ". The thigh bone refers to the length from the root of the thigh to the knee. Generally in pregnancy 20 ...... the remaining full text>

Outline of political issues of High School Students 1 and 2

What is the essence of the people's democratic dictatorship? The people are the masters of the country.
2. What are the characteristics of people's democracy?
(1) the extensiveness of people's democracy. It is manifested not only in the broad enjoyment of democratic rights, but also in the extensiveness of democratic subjects.
(2) authenticity. It is manifested in the institutional, legal, and material protection of the people's ownership of the country, and the ability of the people to manage the country on their own. It is also manifested in the development of economy and social progress, the interests of the broad masses of people are increasingly fully realized.
3. What is the relationship between democracy and dictatorship?
(1) Mutual Difference and opposition. Democracy only applies to the people, and dictatorship applies to the hostile forces.
(2) complement each other and serve as a prerequisite. Democracy is the foundation of the dictatorship and the assurance of transition to formal democracy.
4. Why should we stick to the people's democratic dictatorship? (A matter of justice)
(1) Adhering to the people's democratic dictatorship is one of China's four basic principles. It is the foundation of our country and has been written into the Constitution.
(2) It is the political guarantee of socialism.
(3) It has been given a new age content under the historical conditions of reform and opening up.
5. What are the political rights and obligations of citizens?
Rights and Freedom: (1) right to elect and to be elected (2) political freedom (3) right to supervise (Right to vote, right to suggestion, right to appeal and right to complaint)
Obligations: (1) Safeguarding National Unity and National Unity (2) complying with the Constitution and laws (3) safeguarding national security, honors and interests (4) military service and participation in militia organizations
6. What basic principles should citizens follow when they participate in political life?
(1) adhere to the principle that citizens are equal before the law (2) Adhere to the principle of unified rights and obligations (3) Adhere to the principle of combining personal interests with collective interests and national interests.
7. What is the relationship between citizens' rights and obligations in China? Uniform and inseparable.
(1) The legal relationship exists correspondingly (2) as a means and means to realize the interests of the people (3) Citizens are legally the subjects of rights, it is the subject of the obligation. (4) the realization of rights requires the fulfillment of obligations, and the fulfillment of obligations ensures the realization of power.
8. Why are personal interests combined with national interests? How to combine?
Cause: the fundamental interests are the same.
Requirements: (1) We must actively fulfill our citizens' obligations to safeguard national interests. (2) when there is a conflict between the three, the personal interests of citizens must be subject to the national interests.
9. What is the essence of our citizens' political life? Content? Requirements?
Essence: advocating democracy and the legal system
Content: (1) exercise political rights and fulfill political obligations (2) participate in social public management activities (3) participate in the construction of socialist political civilization (4) Pay attention to China's position and role in the international community.
Requirements: (1) clarifying the role of political life (2) learning political knowledge (3) practices
10. How can democratic elections be conducted? Direct, indirect, equal, and differential elections.
11. How should citizens cherish their right to elect?
(1) Whether to actively participate in elections and earnestly exercise this right is an important measure of citizens' sense of participation and responsibility. The idea of "election has nothing to do with me" and "Selecting anyone can do it" is a manifestation of a weak sense of citizenship and a lack of ownership at the moment.
(2) how to exercise the right to vote and cast your own sacred vote is a manifestation of citizens' political participation ability and an important indicator of citizens' political literacy. Only when everyone gives out their votes on the basis of comprehensive consideration and rational judgment can they select the people who represent the interests and will of the people and truly achieve the expected purpose of democratic elections.
12. How do citizens participate in democratic decision-making?
Social conditions and public opinion system, expert consultation system, social notice system for major issues, and social hearing system.
13. Why should citizens participate in democratic decision-making?
Status: citizens directly participate in decision-making in different ways is an important decision to promote the scientific and democratic decision-making.
Meaning: (1) it is conducive to policy makers to fully promote the nation, gain an in-depth understanding of the people's sentiments, fully reflect public opinions, and widely concentrate the wisdom of the people, so as to cherish the power of the people.
(2) It is helpful for decision makers to take the fundamental interests of the people as the starting point and foothold of decision-making, strengthen the scientific nature of decision-making, and avoid one-sidedness of decision-making.
(3) It is conducive to promoting citizens' understanding of decision-making, raising the consciousness of implementing decision-making, and promoting the implementation of decision-making.
(4) It is conducive to raising citizens' enthusiasm and determination to participate in public affairs, training their ability to participate in decision-making, and enhancing their political sense of responsibility concerning public living areas.
14. What is the significance of developing grassroots democracy?
(1) facilitate the expansion of grassroots democracy (2) ensure that the people are managed in accordance with Law ...... the remaining full text>

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.