js建立excel表格_建立Excel足球联赛表格-传统vs动态数组方法

2023-10-22 16:50

本文主要是介绍js建立excel表格_建立Excel足球联赛表格-传统vs动态数组方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

js建立excel表格

介绍 (Introduction)

I am going to show you the different ways you can build a football league table in Excel. Some of the methods are old school but others utilise Excel’s new capabilities.

我将向您展示在Excel中建立足球联赛表格的不同方法。 其中一些方法过时,而另一些则利用Excel的新功能。

In case you weren’t already aware, Excel has undergone a big change to its calculation engine fairly recently. The concept of dynamic arrays was first introduced back in September 2018, however, for many Microsoft 365 users the first batch of new functions took an awfully long time to appear. Unless you have been an Office Insider, you will not have been able to use them. Even though the update was rolled out to my copy towards the start of the year, there were still swathes of users who were kept waiting.

如果您还没有意识到,Excel会在最近对其计算引擎进行重大更改。 动态数组的概念最早是在2018年9月引入的,但是,对于许多Microsoft 365用户而言,第一批新功能花了很长时间才出现。 除非您是Office Insider,否则您将无法使用它们。 即使更新已于今年年初发布到我的副本中,但仍有大量用户一直在等待。

Since dynamic arrays were introduced in Excel, array formulas no long require you to press Ctrl + Shift + Return every time you edit a cell. This was an annoying practice that made many users, including myself, reluctant to use arrays. They just didn’t feel like a native and integrated part of Excel. Now you can use an array formula like any other — without that additional step.

由于动态数组是在Excel中引入的,因此数组公式不再需要您每次编辑单元格时都按Ctrl + Shift + Return。 这种令人讨厌的做法使许多用户(包括我自己)都不愿意使用数组。 他们只是感觉不像Excel的本地集成部分。 现在,您可以像其他数组一样使用数组公式了-无需执行其他步骤。

If you want to find out more about the new functions, I recommend you visit Microsoft’s help page for each one: XLOOKUP, FILTER, UNIQUE, SORTBY, SORT, SEQUENCE, RANDARRAY.

如果您想了解有关新功能的更多信息,建议您访问Microsoft的每个帮助页面: XLOOKUP , FILTER , UNIQUE , SORTBY , SORT , SEQUENCE , RANDARRAY 。

开始之前 (Before we start)

Download the workbook from here: https://bit.ly/39mlqkp.

从此处下载工作簿: https : //bit.ly/39mlqkp 。

Quick caveat: if you have an older version of Excel, you will find some of the examples do not work because of compatibility issues. This is unavoidable unless you purchase a Microsoft 365 subscription. Personally, I would recommend you do so.

快速警告:如果您使用的是旧版Excel,则会发现某些示例由于兼容性问题而无法使用。 除非您购买Microsoft 365订阅,否则这是不可避免的。 就个人而言,我建议您这样做。

采取的步骤 (Steps taken)

Firstly, a dataset is required containing a list of all the matches played and their respective results. I have used English Premier League data from the 2019/20 season for this example. To conserve space elsewhere, the matches are stored in a separate worksheet called Data — with the table itself named DataTable.

首先,需要一个数据集,其中包含所有进行的比赛及其各自结果的列表。 在此示例中,我使用了2019/20赛季的英超联赛数据。 为了节省其他地方的空间,匹配项存储在名为Data的单独工作表中,表本身名为DataTable

Image for post
2019/20 Premier League Dataset
2019/20英超联赛数据集

You’ll notice there’s a calculated column on the end called Result. This formula looks at the home_goal and away_goal fields for each match played and determines whether the outcome was a home win (H), draw (D) or away win (A).

您会注意到最后有一个计算列Result 。 该公式查看每场比赛的home_goalaway_goal字段,并确定结果是主场获胜( H ),平局( D )还是客场获胜( A )。

There are three sections: Part A, Part B and Part C. Each contains multiple league tables that output identical values, but the method used differs.

共有三个部分: A 部分,B 部分C部分 。 每个表都包含多个输出相同值的联赛表,但是使用的方法不同。

Any kind of system that involves ranking data is typically going to require an unordered and ordered table. The former houses the mathematical calculations and determines the ranking of each row, whilst the latter references it to output the data in the correct order. Part A and Part B are based off this principle. Part C, however, contains two variants that are not dependent on an additional table.

任何涉及对数据进行排名的系统通常都需要无序和有序的表。 前者存储数学计算并确定每行的排名,而后者引用它以按正确的顺序输出数据。 A部分B部分基于此原理。 但是, C部分包含两个不依赖于其他表的变体。

The tables in the workbook use these headers:

工作簿中的表使用以下标头:

  • POS (position)

    POS ( 位置 )

  • TEAM

    球队

  • P (matches played)

    P (参加比赛)

  • W (matches won)

    W (赢得比赛)

  • D (matches drawn)

    D (匹配结果)

  • L (matches lost)

    L (输掉比赛)

  • F (goals for)

    F (目标)

  • A (goals against)

    A (反对)

  • GD (goal difference)

    GD (目标差)

  • PTS (points)

    PTS (点)

  • RANK* (table position when points are sorted in descending order)

    RANK *( 点按降序排序时的表位置 )

*Table A2 only

*仅限表A2

甲部 (Part A)

The approaches here are all based on official Excel tables. The way to tell if what looks like a table is indeed a table— is to check if it has a small blue triangle in the bottom-right, or to click on it and the Table Design tab will appear in the ribbon.

这里的方法都是基于官方的Excel表。 判断表看起来是否确实是表的方法 :检查表的右下角是否有一个小的蓝色三角形,或者单击它,然后“表设计”选项卡将出现在功能区中。

We start off by creating Table A1, which is unordered and forms the base for Table A2, Table A3 and Table A4 to work off. The P, W, D, L columns use COUNTIFS formulas to count the number of matches a team has played, won, drawn and lost respectively. It’s important to note that a single COUNTIFS formula only allows for AND conditions. That means all criteria must be met for a successful count. As we have home and away matches to consider, we need to use two COUNTIFS statements in the same cell to add the counts together. The same concept applies to the SUMIFS function, which has been used for the columns that involve addition: F and A.

我们首先创建表A1,它是无序的,并构成了表A2,表A3和表A4的基础PWDL列使用COUNTIFS公式来计算球队分别打过,赢过,输过和输过的比赛次数。 重要的是要注意,单个COUNTIFS公式仅允许AND条件。 这意味着必须满足所有条件才能成功计数。 考虑到本场比赛和客场比赛,我们需要在同一单元格中使用两个COUNTIFS语句将计数加在一起。 相同的概念适用于SUMIFS函数,该函数已用于涉及加法的列: FA。

The goal difference (GD) column is as simple as F minus A. Custom formatting has also been applied so positive numbers are preceded by a ‘+’ symbol and negatives with a ‘-’.

目标差( GD )列很简单,即F减去A。 自定义格式也已应用,因此正数前带有“ +”符号,负数前带有“-”。

Image for post

The PTS column uses a rather convoluted formula to produce a very long number, but is necessary so the ordered table sorts correctly. In the case of tiebreakers, where two or more teams are level on points, we need to ensure a unique ranking for each team. The priority order that determines rank is as follows:

PTS列使用一个相当复杂的公式来产生一个很长的数字,但是这是必需的,因此有序表可以正确排序。 对于平局决胜局,其中两个或更多团队在得分上持平,我们需要确保每个团队的排名都是唯一的。 确定等级的优先级顺序如下:

1. Points (PTS)

1.点数( PTS )

2. Goal difference (GD)

2.目标差( GD )

3. Goals scored (F)

3.进球( F )

4. First letter of Team name (TEAM)

4.团队名称的首字母( TEAM )

5. Position number (POS)

5.职位编号( POS )

Premier League table with zero matches played

To prove the points column works, we set the values of the P/W/D/L/F/A/GD/PTS columns to pure zeros. With all things being level now, the numbers in RANK directly mirror the alphabetical order of the teams. If you look at Arsenal and Aston Villa, for example, both of them begin with the letter ‘A’, so the only thing separating their points are the position numbers.

为了证明points列有效,我们将P / W / D / L / F / A / GD / PTS列的值设置为纯零。 现在一切都平了, RANK中的数字直接反映了球队的字母顺序。 例如,如果您查看阿森纳(Arsenal)和阿斯顿维拉(Aston Villa),它们都以字母'A'开头,因此,将它们分开的唯一点就是位置编号。

Table A2 uses VLOOKUP to extract the relevant data from Table A1 and display it in the correctly sorted order. VLOOKUP is a popular function, but is less flexible than INDEX/MATCH and the new XLOOKUP. For this reason, many people will stop using it once they’ve discovered one of the latter two.

表A2使用VLOOKUP从表A1中提取相关数据并以正确排序的顺序显示它们。 VLOOKUP是一种流行的功能,但不如INDEX / MATCH和新的XLOOKUP灵活。 因此,一旦发现后两者之一,许多人就会停止使用它。

One of the biggest downsides of VLOOKUP is having to reorder your data so that the lookup range is the furthest-left column. In this case, the RANK column has had to be moved in Table A1 so it comes before all the columns that we want to return data from.

VLOOKUP的最大缺点之一是必须对数据重新排序,以使查找范围在最左列。 在这种情况下,必须在表A1中移动RANK列,因此它位于我们要从中返回数据的所有列之前。

This is not the case with INDEX/MATCH and XLOOKUP. It doesn’t matter about the position of the RANK column. With both Table A3 and Table A4, we have simply referenced only the ranges we need from Table A1.

INDEX / MATCH和XLOOKUP并非如此。 RANK列的位置无关紧要。 对于表A3表A4 ,我们仅引用了表A1中需要的范围。

B部分 (Part B)

Unlike Part A, all three of the ‘tables’ you see are not actually tables—in Excel terms anyway—although we’ll still use that term. Table B1 uses only 11 formulas—one for the headings and the other 10 for the calculations. To surprise you even more: Table B2 and Table B3 use just three. This is what dynamic arrays are all about. They grow and shrink depending on the output of the formula. This concept goes completely against traditional Excel, where one cell has one formula. The big advantage of this is you are less likely to make errors in your worksheet and will reduce inconsistencies.

A部分不同,您看到的所有三个“表”实际上都不是表(无论如何以Excel术语而言),尽管我们仍将使用该术语。 表B1仅使用11个公式-一个用于标题,另一个10个用于计算。 更让您惊讶的是: 表B2表B3仅使用三个。 这就是动态数组的全部意义。 它们根据公式的输出而增长和收缩。 此概念完全与传统的Excel相抵触,在Excel中,一个单元格只有一个公式。 这样做的最大好处是,您不太可能在工作表中出错,并且可以减少不一致的情况。

For the column headings of each table, we have used an array constant to hold the column names. These are fixed values and do not change. Unfortunately, only numbers and text strings can be used in constants — not formulas.

对于每个表的列标题,我们使用了一个数组常量来保存列名。 这些是固定值,不会改变。 不幸的是,常量中只能使用数字和文本字符串,而不能用于公式。

={"POS","TEAM","P","W","D","L","F","A","GD","PTS"}

You will notice in the formulas that a cell reference followed by a hashtag is a common occurrence. This is a spilled range, meaning it is dynamic, so its size will adapt according to the data.

您会在公式中注意到,单元格引用后跟井号是常见的情况。 这是一个溢出范围,意味着它是动态的,因此其大小将根据数据进行调整。

We have again used COUNTIFS and SUMIFS for the P/W/D/L/F/A columns in the same manner as we did in Table A1, except spilled ranges have replaced regular ones.

我们再次以与表A1中相同的方式对P / W / D / L / F / A列使用COUNTIFS和SUMIFS,只是溢出范围已替换常规范围。

Some of the new Excel functions have been utilised and allow us to do a lot from a single cell.

一些新的Excel函数已被利用,使我们可以在单个单元格中完成很多工作。

For the POS column, the SEQUENCE function returns a set of numbers. By wrapping it around the COUNTA function, it will always return an incremental number in accordance to how many teams are displayed adjacent to it.

对于POS列,SEQUENCE函数返回一组数字。 通过将它包装在COUNTA函数周围,它将始终根据与其相邻显示的团队数量返回一个递增的数字。

POS: =SEQUENCE(COUNTA(D14#))

POS: =SEQUENCE(COUNTA(D14#))

The individual team names have been extracted from the team_home column in DataTable using UNIQUE, and then sorted in ascending order using SORT.

已使用UNIQUE从DataTableteam_home列中提取了各个团队名称,然后使用SORT以升序对其进行了排序。

TEAM: =SORT(UNIQUE(DataTable[team_home]))

团队: =SORT(UNIQUE(DataTable[team_home]))

Notice how the PTS column is full of integers and there is no RANK column. This is because we no longer need that awfully complex calculation you saw in Table A1. What replaces it then? The trusty SORT function again.

请注意, PTS列是如何充满整数,而没有RANK列。 这是因为我们不再需要您在表A1中看到的非常复杂的计算。 那有什么替代呢? 可信赖的SORT功能再次发挥作用。

You’ll see in Table B2 and Table B3 that the formula for the table calculations starts at the very top of TEAM. That’s one formula controlling 180 values!

您将在表B2表B3中看到表计算公式从TEAM的最顶部开始。 这是一个控制180个值的公式!

CHOOSE and SWITCH are great for this purpose. Multiple column values can be stored in one formula and spill vertically and horizontally.

选择和切换非常适合此目的。 多个列值可以存储在一个公式中,并且可以垂直和水平溢出。

Let’s look at the main formula in Table B2:

让我们看一下表B2中的主要公式

=SORT(CHOOSE({1,2,3,4,5,6,7,8,9},
D14#,
E14#,
F14#,
G14#,
H14#,
I14#,
J14#,
K14#,
L14#
),{9,8,6,1},-1,-1,-1,1)

The numbers at the top between the parentheses are placed in the index_num argument. They are the index numbers that refer to each spilled range below it.

括号之间顶部的数字放在index_num参数中。 它们是引用其下方每个溢出范围的索引号。

The {9,8,6,1} in the sort_index argument refers to the sorting order and the {-1,-1,-1,1} in sort_order determines whether each sort_index number should be sorted ascending or descending.

sort_index参数中的{9,8,6,1}指的是排序顺序, sort_order{-1,-1,-1,1}确定每个sort_index编号应升序还是降序。

Just like in Table A1, we have a priority list: PTS, GD, F and TEAM. But it’s so much easier to implement it this new way though.

就像表A1一样 ,我们有一个优先级列表: PTSGDFTEAM 。 但是,以这种新方式实现它要容易得多。

The SWITCH method shown in Table C3 is very similar to the CHOOSE one, but the advantage is you are not limited to index numbers, so you can name values what you wish. This is ideal if you have a long formula and you want to optimise readability.

表C3中显示的SWITCH方法与CHOOSE方法非常相似,但是优点是您不仅限于索引号,因此可以根据需要命名值。 如果您有一个较长的公式并且想要优化可读性,那么这是理想的选择。

=SORT(SWITCH({"Team","P","W","D","L","F","A","GD","PTS"},
"Team",
D14#,
"P",
E14#,
"W",
F14#,
"D",
G14#,
"L",
H14#,
"F",
I14#,
"A",
J14#,
"GD",
K14#,
"PTS",
L14#
),{9,8,6,1},{-1,-1,-1,1})

C部分 (Part C)

The first thing you’ll probably notice in this section is that there is no unordered table. The two table variants you see are both self-contained, and only depend on the dataset in the Data worksheet. We have simply squeezed in all the formulas you saw in Table B1 and placed them in a CHOOSE (Table C1) and SWITCH (Table C2) statement.

在本节中您可能会注意到的第一件事是没有无序表。 您看到的两个表变体都是独立的,并且仅取决于数据工作表中的数据集。 我们只是简单地挤压了在表B1中看到的所有公式,并将它们放在CHOOSE( 表C1 )和SWITCH( 表C2 )语句中。

These really are the true definition of a ‘mega formula’! They are rather overwhelming to look at, but using line breaks appropriately (Alt + Return) to spread out the formula can solve most of the readability issues. I also recommend using the SWITCH option as named values can allow you to immediately see where each section starts and ends.

这些确实是“超级公式”的真实定义! 他们看上去不知所措,但是适当地使用换行符(Alt + Return)来展开公式可以解决大多数可读性问题。 我还建议使用SWITCH选项,因为命名值可以使您立即看到每个部分的开始和结束位置。

One of the limitations of Excel formulas is the inability to reuse parts of a formula. For example, with the goal difference column, rather than having to repeat the formulas for columns F and A, it’d be nice if it was possible to access those values and reuse them for a different part of the formula. Given the LET function is closer upon us, this may well solve that problem for the most part, as we’ll be able to declare variables at the start of a formula and use them multiple times within the same formula.

Excel公式的局限性之一是无法重用公式的某些部分。 例如,使用目标差列,而不必重复列FA的公式,那么可以访问这些值并将它们重新用于公式的其他部分,那就太好了。 鉴于LET函数离我们越来越近,这可以在很大程度上解决该问题,因为我们将能够在公式的开头声明变量,并在同一公式中多次使用它们。

最后的话 (Final Words)

Please see the workbook for all the examples. Hopefully they will give you food for thought for how you can go about creating formulas that make use of Excel’s dynamic array powers. The centralised, one formula = many cells approach will gradually become the de facto standard, so get ahead of the curve whilst you can.

请参阅工作簿中的所有示例。 希望他们能为您提供思考,帮助您如何使用Excel的动态数组功能创建公式。 集中的,一个公式=许多单元的方法将逐渐成为事实上的标准,因此尽您所能,走在曲线前。

Workbook download: https://bit.ly/39mlqkp.

工作簿下载: https : //bit.ly/39mlqkp 。

学习功能 (Functions to learn)

There are many resources on the web that enable you to learn in-depth about the functions used in the workbook. I’ve found Exceljet to be a particularly helpful source.

Web上有许多资源,使您可以深入了解工作簿中使用的功能。 我发现Exceljet是特别有用的资源。

RANK.EQ

排名

COUNTIFS

COUNTIFS

SUMIFS

SUMIFS

VLOOKUP

VLOOKUP

INDEX

指数

MATCH

比赛

COUNTA

COUNTA

CHOOSE

选择

SWITCH

开关

COLUMN

CODE

UNIQUE

独特

SORT

分类

XLOOKUP

XLOOKUP

SEQUENCE

序列

翻译自: https://medium.com/@andrew.moss/building-an-excel-football-league-table-traditional-methods-vs-dynamic-arrays-15a1664489a9

js建立excel表格


http://www.taodudu.cc/news/show-8033970.html

相关文章:

  • 如何在 Mac 上更改默认屏幕截图格式和其他详细信息
  • Mac 屏幕截图工具:Snagit for Mac v2023.1.2
  • Linux-Mint/Ubuntu 18.04 + RTX 2060 安全安装NVIDIA驱动+CUDA 10.0+cuDNN
  • 银行卡只显示前后四位,中间用*星号代替
  • ECharts设置x轴刻度间隔的两种方法
  • 全国乡镇级行政区划数据
  • 使用nodejs写一个爬虫程序获取行政区划信息
  • php高德行政区边界,行政区边界查询-行政区划查询-示例中心-JS API 示例 | 高德地图API...
  • 思科万兆口当千兆口使用
  • stm32f103系列芯片JTAG口当做普通IO使用
  • python选择与循环结构之判断三角形:任意输入三个整数作为三角形边长,判断三条边能否构成三角形,并判断是等边三角形、等腰三角形,直角三角形,还是一般三角形。
  • Java输入三个数据判断是否可以组成三角形
  • 编写一个程序,要求由键盘输入三个数,判断是否能构成三角形,如果能构成三角形,则计算以这三个数为边长的三角形的面积。
  • python想知道已经给出的三条边a,b,c能否构成三角形,如果能构成三角形,判断三角形的类型(等边三角形、等腰三角形或普通三角形)。
  • python创建对象是通过调用构造方法完成的_【填空题】Python语言中,创建对象时,调用的初始化方法(构造方法)的名称是( )。...
  • phpword中设置间距_钢筋保护层没有想象中的这么简单,要做好钢筋保护层也不是易事...
  • java路径斜杠怎么表示_Java文件操作在表示文件路径时,目录的分隔符为斜杠(/),这与Windows操作系统中的目录分隔符不一样...
  • 宝武中南钢铁借助飞桨让钢筋超限监控有了“火眼金睛”
  • 基于策略的方法
  • python且的表示_Python中用于表示逻辑与运算的关键字是
  • android+打开菜单,在Android中以编程方式打开ServiceMode菜单
  • SIM900 / SIM800 USSD代码命令 - 工作实例
  • 建立好自己的知识管理系统!
  • 【java】接口的概念分类(http接口、api接口、RPC接口、RMI、webservice、Restful等概念)
  • FPGA实现流水灯的多种实现方式
  • MIPI转HDMI2.0方案
  • PCB模块化设计06——HDMI接口PCB布局布线设计规范
  • rockchip alsa调试声卡
  • 【OpenCV入门到精通之二】图像的载入、显示及输出
  • HDMI2.0/DP1.4双向复用切换方案:IC9642全国产兼容替代TS3DV642A0RUAR
  • 这篇关于js建立excel表格_建立Excel足球联赛表格-传统vs动态数组方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



    http://www.chinasem.cn/article/262568

    相关文章

    Python使用Pandas对比两列数据取最大值的五种方法

    《Python使用Pandas对比两列数据取最大值的五种方法》本文主要介绍使用Pandas对比两列数据取最大值的五种方法,包括使用max方法、apply方法结合lambda函数、函数、clip方法、w... 目录引言一、使用max方法二、使用apply方法结合lambda函数三、使用np.maximum函数

    Qt 中集成mqtt协议的使用方法

    《Qt中集成mqtt协议的使用方法》文章介绍了如何在工程中引入qmqtt库,并通过声明一个单例类来暴露订阅到的主题数据,本文通过实例代码给大家介绍的非常详细,感兴趣的朋友一起看看吧... 目录一,引入qmqtt 库二,使用一,引入qmqtt 库我是将整个头文件/源文件都添加到了工程中进行编译,这样 跨平台

    Nginx设置连接超时并进行测试的方法步骤

    《Nginx设置连接超时并进行测试的方法步骤》在高并发场景下,如果客户端与服务器的连接长时间未响应,会占用大量的系统资源,影响其他正常请求的处理效率,为了解决这个问题,可以通过设置Nginx的连接... 目录设置连接超时目的操作步骤测试连接超时测试方法:总结:设置连接超时目的设置客户端与服务器之间的连接

    Java判断多个时间段是否重合的方法小结

    《Java判断多个时间段是否重合的方法小结》这篇文章主要为大家详细介绍了Java中判断多个时间段是否重合的方法,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录判断多个时间段是否有间隔判断时间段集合是否与某时间段重合判断多个时间段是否有间隔实体类内容public class D

    Python使用国内镜像加速pip安装的方法讲解

    《Python使用国内镜像加速pip安装的方法讲解》在Python开发中,pip是一个非常重要的工具,用于安装和管理Python的第三方库,然而,在国内使用pip安装依赖时,往往会因为网络问题而导致速... 目录一、pip 工具简介1. 什么是 pip?2. 什么是 -i 参数?二、国内镜像源的选择三、如何

    IDEA编译报错“java: 常量字符串过长”的原因及解决方法

    《IDEA编译报错“java:常量字符串过长”的原因及解决方法》今天在开发过程中,由于尝试将一个文件的Base64字符串设置为常量,结果导致IDEA编译的时候出现了如下报错java:常量字符串过长,... 目录一、问题描述二、问题原因2.1 理论角度2.2 源码角度三、解决方案解决方案①:StringBui

    Linux使用nload监控网络流量的方法

    《Linux使用nload监控网络流量的方法》Linux中的nload命令是一个用于实时监控网络流量的工具,它提供了传入和传出流量的可视化表示,帮助用户一目了然地了解网络活动,本文给大家介绍了Linu... 目录简介安装示例用法基础用法指定网络接口限制显示特定流量类型指定刷新率设置流量速率的显示单位监控多个

    Java覆盖第三方jar包中的某一个类的实现方法

    《Java覆盖第三方jar包中的某一个类的实现方法》在我们日常的开发中,经常需要使用第三方的jar包,有时候我们会发现第三方的jar包中的某一个类有问题,或者我们需要定制化修改其中的逻辑,那么应该如何... 目录一、需求描述二、示例描述三、操作步骤四、验证结果五、实现原理一、需求描述需求描述如下:需要在

    JavaScript中的reduce方法执行过程、使用场景及进阶用法

    《JavaScript中的reduce方法执行过程、使用场景及进阶用法》:本文主要介绍JavaScript中的reduce方法执行过程、使用场景及进阶用法的相关资料,reduce是JavaScri... 目录1. 什么是reduce2. reduce语法2.1 语法2.2 参数说明3. reduce执行过程

    C#中读取XML文件的四种常用方法

    《C#中读取XML文件的四种常用方法》Xml是Internet环境中跨平台的,依赖于内容的技术,是当前处理结构化文档信息的有力工具,下面我们就来看看C#中读取XML文件的方法都有哪些吧... 目录XML简介格式C#读取XML文件方法使用XmlDocument使用XmlTextReader/XmlTextWr