C#/WPF面试题 (Epan, Citi)

本文精选了Epan和Citi两家公司的C#面试题目,涵盖了IDisposable模式、二进制转换、集合性能、表达式树等知识点,并深入讨论了引用类型与值类型的差异、不可变性、Lambda表达式及反射等核心概念。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

当然面试问题不可能这么少,我只是把我觉得有意义和我当时答的不好拿出来

Epan面试:

1.简述IDisposable pattern,how it works?

2. Easiest way to convert 5 to 101 which is binary format?  

answer: can use >> operator

3. C# collection complexity performance? 

answer: There is a really good website to explain http://geekswithblogs.net/BlackRabbitCoder/archive/2011/06/16/c.net-fundamentals-choosing-the-right-collection-class.aspx

4. Expression tree. 

5. Volatile. When and how to use it?


Citi面试:

1. Reference type and value type. Difference? Tell more. string type is reference type? why?

Answer: http://www.albahari.com/valuevsreftypes.aspx

2.  immutable and mutable difference? why immutable?

3. What is Lambda expression?

有时候其实经常用,可如果不好好看看一些概念的具体定义的话,面试的时候很吃亏的

4. What is Delegate? definition?

5. int ? int32 ? int64 ? relationship?

6. Object class all the method inside? why we need equals and referenceequals? why we need gethashcode?

7. Reflection definition?

8. Assembly contains? 

answer: metadata, resource, IL

9. .Net Garbage collection

10. What is thread safe? how to make it thread safe?

11. How to implement an notification service using WCF?

asnwer: duplex

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值