我有一个离子5项目,需要将它更新为V6,我遵循了正式的文档指南,但是当我试图将with更新到最新版本时,它失败了,出现了以下错误,
C:\Users\Documents\WRepo>npx @angular/cli@13 update @angular/core@13 @angular/cli@13 The installed local Angular CLI version is older than the latest stable version. Installing a temporary version to perform the update. √ Package s
我的程序从对象(离子)列表中随机选择一个对象(离子),并允许用户输入他们认为是电荷和极性的值,但是,当我对照随机对象(离子)的值检查输入时,只接受列表中的第一个对象,而不是实际变量。我检查以确保变量正在变化,即使在匹配时,它也只接受列表中第一个离子的电荷和极性。 this is the list of objects, ion guesser is declared outside
int IonGuesser;
public class Ion
{
public string Charge; // 1-3 no need to make int as n