我想用这个插件来显示博客帖子,但不是以图像为背景,客户端想要不同颜色的图像。从这里的另一篇文章中,我已经想出了我认为可以做到这一点的代码,但是我无法在网站上看到它!这里是我做的似乎在这里工作的代码。 Example where code is working. 这是目前有问题的网站。 The div site where it isn't working like it should... 你会看
我需要将大写和小写连续(交替)的短语单词转换。 例子。 输入: the girl is pretty. 输出: tHe GiRl Is PrEtTy 我曾尝试下面的代码,但它只能转换第一个字母: char[] array = texto.ToCharArray();
if (array.Length >= 1)
{
if (char.IsLower(array[0]))
{