Window icon or application icon?
If you want to switch between different window icons according to different versions, you can add all the icons to the resources of the project.
if(){
this.Icon = Properties.Resources.a_ico
}else if(){
this.Icon = Properties.Resources.b_ico
}else{
this.Icon = Properties.Resources.c_ico
}