偏课用英语怎么写

偏课用英语怎么写

英文写法翻译

Partial class

重点词汇

偏课───Partial class

双语使用场景

At the top of the partial class definition for the form, add the following code.───在表单的partial类定义顶部,添加以下代码。

It is always optional to re-state any base interface in a partial class.───类中是否重新声明它所实现的接口也是可选的。

is added to the partial class that contains all of your functions.───被添加到包含所有函数的局部类。

A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.───分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。

The compiled result will assume the page root's backing type to be the basis for the partial class, even if it not specified.───即使没有指定,编译的结果仍会采用页面根项目的支援类型做为部分类别的基础。

However in C#, each source files stand alone, so by making each file part of a partial class, I was able to access routines between files.───而在C#中,每个源文件相互独立。为了能够访问不同文件中的代码,我将每个(C语言)文件做成partial类的一部分。

英语使用场景

The code-behind file contains a partial class that inherits from a base page class.

Write a function in the partial class that verifies the values as dates and returns a Boolean variable.