# How to pass  the value for Array as parameter

**URL:** <https://www.dynamicsuser.net/t/how-to-pass-the-value-for-array-as-parameter/62856>\
**Category:** Developer Forum\
**Created:** [March 2, 2017, 10:57am UTC](https://www.dynamicsuser.net/t/how-to-pass-the-value-for-array-as-parameter/62856 "2017-03-02T10:57:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![billgates](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@billgates](https://www.dynamicsuser.net/u/billgates)\
**Post date:** [March 2, 2017, 10:57am UTC](https://www.dynamicsuser.net/t/how-to-pass-the-value-for-array-as-parameter/62856/1 "2017-03-02T10:57:48Z")

</div>

Hi,

void get(Array Hours)

{

* * *

}

…How can i pass the parameter value for this method …

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [March 2, 2017, 11:16am UTC](https://www.dynamicsuser.net/t/how-to-pass-the-value-for-array-as-parameter/62856/2 "2017-03-02T11:16:44Z")

</div>

Array is a collection class  
[msdn.microsoft.com/…/array.aspx](https://msdn.microsoft.com/en-in/library/array.aspx)  
[msdn.microsoft.com/…/aa608508.aspx](https://msdn.microsoft.com/en-in/library/aa608508.aspx)
