分享免费的编程资源和教程

网站首页 > 技术教程 正文

during 和 while 的用法区别(while和during的区别是什么)

goqiw 2024-11-17 10:13:43 技术教程 30 ℃ 0 评论

during 和 while 意思和功能相近,但是它们的语法用法不一样。


一、during 是一个介词,后面通常跟表示活动的名词前,表示与另外一个活动并行发生,例如:


What did you discuss during dinner?

晚餐时你讨论了什么?


解析:此句的 dinner 是吃晚餐这个活动,它跟 discuss 同时发生。


I had a good time during the trip.

旅途中我过得很愉快。


解析:此句的 the trip 是旅途这个活动,它跟 had a good time 同时发生。


Two friends and I drove to Florida during college spring break.

我和两个朋友在大学春假期间开车去了佛罗里达。


解析:此句的 college spring break 是春假这个活动,它跟 drove to Florida 同时发生。


二、while 是一个连词,后面跟句子,用于指发生另一活动的背景时间段,例如:


They all took notes while the professor gave the lecture.

教授讲课时他们都做了笔记。


解析:此句的 the professor gave the lecture 是 took notes 发生的背景时间段。


I did it while I was drunk.

我是在喝醉的时候做的。


解析:此句的 I was drunk 是 did it 发生的背景时间段。


While the discussion was still going on, George came in.

当讨论还在进行时,乔治走了进来。


解析:此句的 the discussion was still going on 是 came in 发生的背景时间段。


Strike while the iron is hot.

趁热打铁。


解析:此句的 the iron is hot 是 strike 发生的背景时间段。


三、两者的区别


during 是介词,后面通常跟表示活动的名词,表示有另一活动与该活动同时发生,而 while 是连词,后面跟句子,表示在 while 引导的时间段内发生另一活动。

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表