<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: error CS1503: Argument 1: cannot convert from 'System.Collections.Generic.List&amp;lt;string&amp;gt;' to 'string' in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10319019#M25963</link>
    <description>&lt;P&gt;This is actually a very simple error that is easy to make (the error in the code that is). In your for loop you typed&amp;nbsp;&lt;EM&gt;options.Add(option&lt;STRONG&gt;s&lt;/STRONG&gt;);&lt;/EM&gt; instead of&amp;nbsp;&lt;EM&gt;options.Add(option&lt;/EM&gt;&lt;EM&gt;);&lt;/EM&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 19:32:13 GMT</pubDate>
    <dc:creator>mhannonQ65N2</dc:creator>
    <dc:date>2021-05-17T19:32:13Z</dc:date>
    <item>
      <title>error CS1503: Argument 1: cannot convert from 'System.Collections.Generic.List&lt;string&gt;' to 'string'</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10315605#M25960</link>
      <description>&lt;P&gt;Hey, i'm making this game and this error just showed up and i cant find a way to solve it. Pls help :'(((&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using System.Collections;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using UnityEngine.UI;&lt;BR /&gt;using TMPro;&lt;BR /&gt;using UnityEngine;&lt;/P&gt;&lt;P&gt;public class FullScreen : MonoBehaviour&lt;BR /&gt;{&lt;BR /&gt;public Dropdown resolutionDropdown;&lt;/P&gt;&lt;P&gt;Resolution[] resolutions;&lt;/P&gt;&lt;P&gt;void Start()&lt;BR /&gt;{&lt;BR /&gt;resolutions = Screen.resolutions;&lt;/P&gt;&lt;P&gt;resolutionDropdown.ClearOptions();&lt;/P&gt;&lt;P&gt;List&amp;lt;string&amp;gt; options = new List&amp;lt;string&amp;gt;();&lt;/P&gt;&lt;P&gt;for (int i = 0; i &amp;lt; resolutions.Length; i++)&lt;BR /&gt;{&lt;BR /&gt;string option = resolutions[i].width + "x" + resolutions[i].height;&lt;BR /&gt;options.Add(options);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;resolutionDropdown.AddOptions(options);&lt;BR /&gt;}&lt;BR /&gt;public void SetFullCreen (bool isFullScreen)&lt;BR /&gt;{&lt;BR /&gt;Screen.fullScreen = isFullScreen;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 00:18:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10315605#M25960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-16T00:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: error CS1503: Argument 1: cannot convert from 'System.Collections.Generic.List&lt;string&gt;' to 'string'</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10315829#M25961</link>
      <description>&lt;P&gt;lol, I was about to say this is a rookie error, then I realized you on the wrong website altogether.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a Revit API forum.&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 05:04:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10315829#M25961</guid>
      <dc:creator>joshua.lumley</dc:creator>
      <dc:date>2021-05-16T05:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: error CS1503: Argument 1: cannot convert from 'System.Collections.Generic.List&lt;string&gt;' to 'string'</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10317424#M25962</link>
      <description>&lt;P&gt;how some one can fail so much, maybe life of programmer is just not for you.&lt;BR /&gt;btw you made typo here&lt;/P&gt;&lt;LI-CODE lang="general"&gt;options.Add(options);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;but you probably will not read this just like you didn't read a exception description, debug info in unity, name of the forum and probably your own code.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 07:20:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10317424#M25962</guid>
      <dc:creator>MarryTookMyCoffe</dc:creator>
      <dc:date>2021-05-17T07:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: error CS1503: Argument 1: cannot convert from 'System.Collections.Generic.List&lt;string&gt;' to 'string'</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10319019#M25963</link>
      <description>&lt;P&gt;This is actually a very simple error that is easy to make (the error in the code that is). In your for loop you typed&amp;nbsp;&lt;EM&gt;options.Add(option&lt;STRONG&gt;s&lt;/STRONG&gt;);&lt;/EM&gt; instead of&amp;nbsp;&lt;EM&gt;options.Add(option&lt;/EM&gt;&lt;EM&gt;);&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 19:32:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-cs1503-argument-1-cannot-convert-from-system-collections/m-p/10319019#M25963</guid>
      <dc:creator>mhannonQ65N2</dc:creator>
      <dc:date>2021-05-17T19:32:13Z</dc:date>
    </item>
  </channel>
</rss>

