C#软件工程师英语面试题


Posted in 面试题 onJune 07, 2015
1 True or false: both instance properties and static properties are allowed? True
2 True or false: a static method can access instance members? False.
3. It is considered good style to explicitly invoke the garbage collector whenever an object allocated on the heap goes out of scope? True
4 Determining if two references refer to the same object should be done using: The Equals method.
5 In Exceptions, the catch and finally constructs may be associated with the same try block. True.56
6 If a method is marked as protected internal who can access it?
Classes that are both in the same assembly and derived from the declaring class.
7. What’s the difference between the Debug class and Trace class?
8. When should you call the garbage collector in .NET?

9 What is encapsulation??
Containing and hiding information about an object, such as internal data structures and code. Encapsulation isolates the internal complexity of an object’s operation from the rest of the application. For example, a client component asking for net revenue from a business object need not know the data’s origin.
What is inheritance?
Inheritance allows one class to reuse the state and behavior of another class. The derived class inherits the properties and method implementations of the base class and extends it by overriding methods and adding additional properties and methods.
What is Polymorphism??
Polymorphism allows a client to treat different objects in the same way even if they were created from different classes and exhibit different behaviors.
You can use implementation inheritance to achieve polymorphism in languages such as C++ and Java. Base class object’s pointer can invoke methods in derived class objects.
You can also achieve polymorphism in C++ by function overloading and operator overloading.

10 What is a virtual method?
the implementation of a virtual method can be superseded by derived classes. The process of superseding the implementation of an inherited virtual method is known as overriding that method

Tags in this post...

面试题 相关文章推荐
怎样比较两个类型为String的字符串
Aug 17 面试题
估算杭州有多少软件工程师
Aug 11 面试题
struct和class的区别
Nov 20 面试题
如何转换一个字符串到enum值
Apr 12 面试题
2019年分享net面试的经历和题目
Aug 07 面试题
介绍一下常见的木马种类
Nov 15 面试题
C#软件工程师英语面试题
Jun 07 面试题
在c#中using和new这两个关键字有什么意义
May 19 面试题
介绍一下linux的文件系统
Oct 06 面试题
Python里面如何拷贝一个对象
Feb 17 面试题
Java模拟试题
Nov 10 面试题
Java面试题冲刺第十七天--基础篇3
Aug 07 面试题
C#如何进行LDAP用户校验
Nov 21 #面试题
sealed修饰符是干什么的
Oct 23 #面试题
维德科技C#面试题笔试题
Dec 09 #面试题
C#实现启动一个进程
Oct 01 #面试题
C#笔试题
Jul 14 #面试题
C#和SQL Server的面试题
Aug 12 #面试题
编写一个 C 函数,该函数在一个字符串中找到可能的最长的子字符串,且该字符串是由同一字符组成的
Jul 23 #面试题
You might like
PHP中,文件上传
2006/12/06 PHP
php 显示指定路径下的图片
2009/10/29 PHP
学习thinkphp5.0验证类使用方法
2017/11/16 PHP
php实现JWT(json web token)鉴权实例详解
2019/11/05 PHP
Extjs实现进度条的两种便捷方式
2013/09/26 Javascript
jquery新的绑定事件机制on方法的使用方法
2014/04/15 Javascript
jquery模拟进度条实现方法
2015/08/03 Javascript
JS组件Bootstrap Select2使用方法详解
2020/04/17 Javascript
基于jQuery插件实现点击小图显示大图效果
2016/05/11 Javascript
gulp-htmlmin压缩html的gulp插件实例代码
2016/06/06 Javascript
KnockoutJS 3.X API 第四章之click绑定
2016/10/10 Javascript
浅析Node.js:DNS模块的使用
2016/11/23 Javascript
老生常谈jacascript DOM节点获取
2017/04/17 Javascript
详解使用Node.js 将txt文件转为Excel文件
2017/07/05 Javascript
js判断数组是否包含某个字符串变量的实例
2017/11/24 Javascript
JS实现导出Excel的五种方法详解【附源码下载】
2018/03/15 Javascript
微信小程序日历弹窗选择器代码实例
2019/05/09 Javascript
JavaScript中this的学习笔记及用法整理
2020/02/17 Javascript
[00:23]DOTA2群星共贺开放测试 25日无码时代来袭
2013/09/23 DOTA
在Python中使用CasperJS获取JS渲染生成的HTML内容的教程
2015/04/09 Python
Python中for循环和while循环的基本使用方法
2015/08/21 Python
使用Python来开发Markdown脚本扩展的实例分享
2016/03/04 Python
Python简单检测文本类型的2种方法【基于文件头及cchardet库】
2016/09/18 Python
python中的闭包函数
2018/02/09 Python
pytorch 使用单个GPU与多个GPU进行训练与测试的方法
2019/08/19 Python
浅谈CSS3中的变形功能-transform功能
2017/12/27 HTML / CSS
详解HTML5中垂直上下居中的解决方案
2017/12/20 HTML / CSS
详解Canvas 跨域脱坑实践
2018/11/07 HTML / CSS
英国领先的奢侈品零售商之一:CRUISE
2016/12/02 全球购物
什么是设计模式
2012/06/17 面试题
文秘自荐信
2013/10/20 职场文书
会计毕业生求职简历的自我评价
2013/10/20 职场文书
住宅质量保证书
2014/04/29 职场文书
植树节活动总结
2014/04/30 职场文书
计划生育证明格式范本
2014/09/12 职场文书
2016优秀员工先进事迹材料
2016/02/25 职场文书