可以对候选人进行排名的C#程序 [英] C# program that can rank candidate

查看:97
本文介绍了可以对候选人进行排名的C#程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好人,我需要您如何编写C#程序的帮助,该程序可以根据其资格和经验对候选人进行排名

Good people i need your help on how to write a C# program that can rank candidates with their qualifications and experience

推荐答案

该问题无法在论坛中回答这样的.存在的目的是帮助人们完成自己的工作,而不是为他们做.尝试浏览文章"部分以获取有关解决问题的方法的一些想法,然后在您有更具体的问题要问时回到这里.
That question cannot be answered in a forum such as this. This exists to help people with their own work, not to do it for them. Try looking through the Articles section to get some ideas on ways to approach your problem, and come back here when you have something more specific to ask.


这是一个非常笼统的问题,所以我''我们将为您提供一些基本的建议.从这里开始,我建议您深入其中并尝试入门.一旦开始,您将发现自己可以完成全部工作,或者发现有特定领域需要坚持.从那里,您可以提出一个更具体的问题.

根据经验和资格对候选人进行排名是非常主观的事情.您将需要为每个项目定义一组规则和权重.例如,如果您正在寻找一名程序员,并且有两个人申请,其中一个人拥有3年的C#知识,而另一个人具有10年的VB.NET,那么哪个更适合C#工作?仅仅在C#中工作了3年的人会很不错,但是拥有10年.NET经验的人(即使是在VB.NET中)也将非常出色.您可能会说C#的每一年等于一个点,而VB.NET的每一年等于0.5点.因此,您的第二位候选人有5分,而第一位候选人有3分.

您将需要制定所有这些条件.不过,在到达那里之前,请先将问题分解为大块.弄清楚如何存储数据.然后弄清楚如何将数据检索到您的应用程序中.然后找出如何应用规则(在数据库或应用程序中-您的调用).规则应该像我上面说明的那样.完成所有步骤后,只需将分数加起来并按降序对候选人进行排序(在顶部最大)即可.

这是一个堆栈溢出问题,其中包含一种针对特定情况进行排名的方法.也许您可以使用一些逻辑来帮助您开始思考过程:

http://stackoverflow.com/questions/932300/c-sharp-ranking- of-objects-multiple-criteria [ ^ ]
This is a very generic question, so I''m going to get you started with some basic advice. From there, I would recommend that you dive into it and try to get started. Once you get started, you will either find that you can do the whole thing or that there is a specific area that you get stuck on. From there, you can ask a more specific question.

Ranking candidates based upon experience and qualifications is a very subjective matter. You are going to need to define a set of rules and weights for each item. For instance, if you are looking for a programmer and two apply, one having 3 years of C# and the other having 10 years of VB.NET, which is a better candidate for a C# job? The guy who has only worked for three years in C# will be pretty good but the guy who has 10 years of .NET experience (even though it is in VB.NET) will also be very good. You might say that each year of C# equals one point where each year of VB.NET equals 0.5 points. Thus, your second candidate has 5 points to the first ones 3 points.

All of these criteria will need to be developed by you. Before you get there, though, first break the problem down into chunks. Figure out how to store the data. Then figure out how to retrieve the data into your application. Then figure out how to apply rules (either in the database or in your application - your call). The rules should be like I illustrated above. Once all that is done, it is simply a matter of adding up the points and ordering the candidates in descending order (largest on top).

Here is a Stack Overflow question with one way of doing ranking for a particular circumstance. Maybe you can use pieces of the logic to help you get started in your thought process:

http://stackoverflow.com/questions/932300/c-sharp-ranking-of-objects-multiple-criteria[^]


这篇关于可以对候选人进行排名的C#程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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