永发信息网

2、请设计一个程序,程序包括下列功能:(1) 让用户依次输入两个字符串s1和s2; (2) 比较两个

答案:2  悬赏:70  手机版
解决时间 2021-01-26 19:45
  • 提问者网友:像風在裏
  • 2021-01-26 03:56
2、请设计一个程序,程序包括下列功能:(1) 让用户依次输入两个字符串s1和s2; (2) 比较两个
最佳答案
  • 五星知识达人网友:迟山
  • 2021-01-26 04:59
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Collections;namespace comparestringandsubstring{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string strsmall=,strbig,sub=; SortedList substring = new SortedList(); if ((textBox1.Text.Length
全部回答
  • 1楼网友:不如潦草
  • 2021-01-26 05:28
哦,回答的不错
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯