找了几个不错的C#面试问题 [英] Looking for a few good C# interview problems

查看:201
本文介绍了找了几个不错的C#面试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不想问考生问题,而是给他们几个问题要解决。这样做的原因是,我见过的人是优秀的有理论,但是当有一个真实的世界C#的问题面前,就是无法破解它。

I do not want to ask candidates questions, but rather give them several problems to resolve. The reason for this is that I've seen people be excellent with theory, but when confronted by a real world c# issue, just couldn't hack it.

这些C#问题应该是非常简单,将不会超过1-20分钟解决,但复杂的,以至于我能淘汰候选不能代码。

These c# problems should be simple enough that it won't take more than 1-20 minutes to resolve, yet complicated enough that I'd be able to weed out candidates that can't code.

现在,我通常要求申请人扭转一个字符串,并从列表中删除重复。 。仅此一点杂草了大量的人

Right now, I typically ask the applicants to reverse a string and remove duplicates from a List. This alone weeds out a large number of people.

任何其他的例子我可以使用

Any other examples I could use?

编辑:我应该提到,这是一个标准的C#的演出,在那里他们会写业务代码,而不是寻求实现链表最优化的方式。

I should have mentioned that this is for a standard c# gig, where they'll be writing business code rather than finding the most optimal way to implement a linked list.

推荐答案

我喜欢采摘我其实是有一些点解决简单的问题;它没有获得更多相关的工作比。

I like picking simple problems that I actually had to solve at some point; it doesn't get more relevant to the job than that.

在我工作的VBScript我会问应聘大学生如何写则DateDiff的简化版本,因为这样做是我做了什么工作,我第一次真正一天微软。更高级的人选我会问如何构建跟踪的32位处理和相关联的64位指针,这再次其实我在VBScript中工作时,必须做之间的关系的装置。

When I worked on VBScript I'd ask college candidates how to write a simplified version of DateDiff, since doing so was what I did my first real day of work at Microsoft. More advanced candidates I would ask how to build a device which tracks the relationship between 32 bit handles and an associated 64 bit pointer, which again I actually had to do when working on VBScript.

最近,我倾向于问树处理算法的问题,因为编译器是所有关于树的操作。或如何CODEGEN使用单子新的运营商,因为这是LINQ是如何工作的。

More recently I tend to ask questions about tree manipulation algorithms, since the compiler is all about tree manipulation. Or about how to codegen new operators using monads, since that's how LINQ works.

我的意思是不是说你应该用在这些方面的问题,我的观点是,你肯定肯定有,你有在你每天的日常工作​​来解决问题。询问这些问题的候选人 - 那么你就会了解他们如何解决现实问题,他们会学习,如果他们来了什么样的,他们会来解决问题与您携手

My point is not that you should use questions in these areas, my point is that surely you must have had problems that you had to solve in your day-to-day work. Ask the candidates about those problems -- then you'll learn how they solve a realistic problem, and they'll learn what sorts of problems they'd be solving if they came to work with you.

这篇关于找了几个不错的C#面试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆